Message ID | 20210907204154.9F4CB203AE@pchp3.se.axis.com |
---|---|
State | New |
Headers | show |
Series | [Committed] Fix fatal typo in gcc.dg/no_profile_instrument_function-attr-2.c | expand |
On 9/7/21 22:41, Hans-Peter Nilsson wrote: > With r12-3379, the testsuite got such a fatal syntax error, > causing the gcc test-run to abort at (e.g.): Thank you for the fix! I haven't noticed the problem as I only grep for '^FAIL' lines in the corresponding log files. Cheers, Martin
> From: Martin Liaka <mliska@suse.cz> > Date: Wed, 8 Sep 2021 09:29:52 +0200 > On 9/7/21 22:41, Hans-Peter Nilsson wrote: > > With r12-3379, the testsuite got such a fatal syntax error, > > causing the gcc test-run to abort at (e.g.): > > Thank you for the fix! I haven't noticed the problem as I only grep for '^FAIL' > lines in the corresponding log files. You're welcome but *please* also add (conceptually) "grep -q ^ERROR: makelog && fail" to your workflow. brgds, H-P PS. yeah, but worth repeating
Hi Hans-Peter, >> From: Martin Liaka <mliska@suse.cz> >> Date: Wed, 8 Sep 2021 09:29:52 +0200 > >> On 9/7/21 22:41, Hans-Peter Nilsson wrote: >> > With r12-3379, the testsuite got such a fatal syntax error, >> > causing the gcc test-run to abort at (e.g.): >> >> Thank you for the fix! I haven't noticed the problem as I only grep for '^FAIL' >> lines in the corresponding log files. > > You're welcome but *please* also add (conceptually) > "grep -q ^ERROR: makelog && fail" to your workflow. even that is not enough, though: one also needs to look for UNRESOLVED and XPASS. An easy way of doing all this is running make mail-report.log after the build and comparing the output to an unmodified build. Saves everyone loads of trouble. Rainer
diff --git a/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-2.c b/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-2.c index 472eca88efdd..2e93ee5f6891 100644 --- a/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-2.c +++ b/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-2.c @@ -12,4 +12,4 @@ int bar() return foo(); } -/* { dg-final { scan-tree-dump-not" = foo \\(\\)" "optimized"} } */ +/* { dg-final { scan-tree-dump-not " = foo \\(\\)" "optimized"} } */