diff options
| author | Ben Kimock <kimockb@gmail.com> | 2024-02-23 18:04:01 -0500 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2024-02-23 18:04:01 -0500 |
| commit | 2f3c0b98593044c00492f4287e27ef9733121c97 (patch) | |
| tree | a9eadd9e5552983d52be9f52be6ac3c179bacdc6 /src/tools/compiletest | |
| parent | 2dbd6233ccdb2cd4b621a5e839a95c3fbbc0c375 (diff) | |
| download | rust-2f3c0b98593044c00492f4287e27ef9733121c97.tar.gz rust-2f3c0b98593044c00492f4287e27ef9733121c97.zip | |
Ignore less tests in debug builds
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 27a8079d893..61211a7d675 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -2503,8 +2503,11 @@ impl<'test> TestCx<'test> { // overridden by `compile-flags`. rustc.arg("-Copt-level=2"); } - RunPassValgrind | Pretty | DebugInfo | Codegen | Rustdoc | RustdocJson | RunMake - | CodegenUnits | JsDocTest | Assembly => { + Assembly | Codegen => { + rustc.arg("-Cdebug-assertions=no"); + } + RunPassValgrind | Pretty | DebugInfo | Rustdoc | RustdocJson | RunMake + | CodegenUnits | JsDocTest => { // do not use JSON output } } |
