[COMMITTED 71/77] gccrs: Test libcore compilation until lowering
| Newsgroups | gmane.comp.gcc.rust,gmane.comp.gcc.patches |
|---|---|
| Message-ID | <[email protected]> |
From: Owen Avery <[email protected]> This slows down the testsuite a bit (4 minutes on my PC, without parallelization, about 10 minutes on github CI runners), but we need libcore to compile (and therefore need to be verifying that it does). gcc/testsuite/ChangeLog: * rust/core/core.exp: Compile until lowering phase, avoid spamming the logs with debug messages in an attempt to speed up compilation, and increase test timeout from 600 seconds to 1200 seconds. Signed-off-by: Owen Avery <[email protected]> --- gcc/testsuite/rust/core/core.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/rust/core/core.exp b/gcc/testsuite/rust/core/core.exp index 8f6ab923732..d2efe429824 100644 --- a/gcc/testsuite/rust/core/core.exp +++ b/gcc/testsuite/rust/core/core.exp @@ -28,9 +28,9 @@ dg-init set saved-dg-do-what-default ${dg-do-what-default} set dg-do-what-default "compile" -set individual_timeout 600 +set individual_timeout 1200 dg-additional-files [lsort [glob -nocomplain $srcdir/../../libgrust/rustc-lib/*]] -dg-runtest $srcdir/../../libgrust/rustc-lib/core/src/lib.rs "-frust-edition=2018 -frust-crate=core -frust-compile-until=attributecheck -w" "" +dg-runtest $srcdir/../../libgrust/rustc-lib/core/src/lib.rs "-fno-rust-debug -frust-edition=2018 -frust-crate=core -frust-compile-until=lowering -w" "" set dg-do-what-default ${saved-dg-do-what-default} # All done. -- 2.50.1