about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-14 07:10:36 +0000
committerbors <bors@rust-lang.org>2020-08-14 07:10:36 +0000
commit43bec40138bab10c08ac916bff2f2f81b2b70669 (patch)
treeb3031d029834f7f08ca500b6e5bd39a1bc39d832 /src/test/rustdoc-ui/coverage/json.rs
parent8e5a27766ff14af36448a4b4c0a8bff84090168f (diff)
parent662871f1ccdcd658a084925586ad1572f94dd102 (diff)
downloadrust-43bec40138bab10c08ac916bff2f2f81b2b70669.tar.gz
rust-43bec40138bab10c08ac916bff2f2f81b2b70669.zip
Auto merge of #73383 - ecstatic-morse:test-unoptimized-std, r=Mark-Simulacrum
Run standard library unit tests without optimizations in `nopt` CI jobs

This was discussed in #73288 as a way to catch similar issues in the future. This builds an unoptimized standard library with the bootstrap compiler and runs the unit tests. This takes about 2 minutes on my laptop.

I confirmed that this method works locally, although there may be a better way of implementing it. It would be better to use the stage 2 compiler instead of the bootstrap one.

Notably, there are currently four `libstd` unit tests that fail in debug mode on `i686-unkown-linux-gnu` (a tier one target):

```
failures:
    f32::tests::test_float_bits_conv
    f32::tests::test_total_cmp
    f64::tests::test_float_bits_conv
    f64::tests::test_total_cmp
```

These are the tests that prompted #73288 as well as the ones added in #72568, which is currently broken due to #73328.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions