Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 5fa4775

Browse files
committed
fixup! Add extensive and exhaustive tests
1 parent cb84bbe commit 5fa4775

File tree

1 file changed

+4
-4
lines changed
  • crates/libm-test/tests/z_extensive

1 file changed

+4
-4
lines changed

crates/libm-test/tests/z_extensive/run.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ where
7979
let skip = skip_extensive_test(&ctx);
8080

8181
let runner = move || {
82-
if !cfg!(optimizations_enabled) {
83-
panic!("extensive tests should be run with --release");
84-
}
82+
// if !cfg!(optimizations_enabled) {
83+
// panic!("extensive tests should be run with --release");
84+
// }
8585

8686
let res = run_single_test::<Op>();
8787
let e = match res {
@@ -146,7 +146,7 @@ where
146146
let real_total = completed.load(Ordering::Relaxed);
147147
pb.complete(real_total);
148148

149-
if real_total != total {
149+
if res.is_ok() && real_total != total {
150150
// Provide a warning if our estimate needs to be updated.
151151
panic!("total run {real_total} does not match expected {total}");
152152
}

0 commit comments

Comments
 (0)