public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Iain Buclaw <ibuclaw@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-2862] d: Don't run all permutations for fail_compilation tests. Date: Wed, 26 Aug 2020 08:04:35 +0000 (GMT) [thread overview] Message-ID: <20200826080435.F10DE3857C4D@sourceware.org> (raw) https://gcc.gnu.org/g:3eefc04663f325a1c76fae4d0a54284e71a57eb1 commit r11-2862-g3eefc04663f325a1c76fae4d0a54284e71a57eb1 Author: Iain Buclaw <ibuclaw@gdcproject.org> Date: Tue Aug 25 00:28:38 2020 +0200 d: Don't run all permutations for fail_compilation tests. Fail compilation tests only check for language errors from the front-end, all default option switches do nothing to alter the error. gcc/testsuite/ChangeLog: * lib/gdc-utils.exp (gdc-convert-test): Clear PERMUTE_ARGS for fail_compilation tests if not set by test file. Diff: --- gcc/testsuite/lib/gdc-utils.exp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/testsuite/lib/gdc-utils.exp b/gcc/testsuite/lib/gdc-utils.exp index 0e4f57c756d..37c1620f307 100644 --- a/gcc/testsuite/lib/gdc-utils.exp +++ b/gcc/testsuite/lib/gdc-utils.exp @@ -370,6 +370,11 @@ proc gdc-convert-test { base test } { } fail_compilation { + # Fail compilation tests only check for language errors from the + # front-end. No need to run all permutations of the default DFLAGS. + if { $PERMUTE_ARGS == $DEFAULT_DFLAGS } { + set PERMUTE_ARGS "" + } puts $fdout "// { dg-final { output-exists-not } }" } }
reply other threads:[~2020-08-26 8:04 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200826080435.F10DE3857C4D@sourceware.org \ --to=ibuclaw@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).