diff options
author | Martin Liska <mliska@suse.cz> | 2017-04-26 11:25:28 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-04-26 09:25:28 +0000 |
commit | f9726baa97f95d73f1ead290e4465824c4bcc673 (patch) | |
tree | 489ce67ffc599a05d55f852167742d302b4c19bc /gcc/testsuite/gcc.dg/guality | |
parent | 9f06c15a2e89cc398e6c55c3374386af6981c526 (diff) | |
download | gcc-f9726baa97f95d73f1ead290e4465824c4bcc673.zip gcc-f9726baa97f95d73f1ead290e4465824c4bcc673.tar.gz gcc-f9726baa97f95d73f1ead290e4465824c4bcc673.tar.bz2 |
Add prefix to test verification in guality.h
2017-04-26 Martin Liska <mliska@suse.cz>
* gcc.dg/guality/guality.h: Add prefix to test verification.
From-SVN: r247275
Diffstat (limited to 'gcc/testsuite/gcc.dg/guality')
-rw-r--r-- | gcc/testsuite/gcc.dg/guality/guality.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/guality/guality.h b/gcc/testsuite/gcc.dg/guality/guality.h index d5867d8..9472251 100644 --- a/gcc/testsuite/gcc.dg/guality/guality.h +++ b/gcc/testsuite/gcc.dg/guality/guality.h @@ -55,6 +55,8 @@ along with GCC; see the file COPYING3. If not see so that __FILE__ and __LINE__ will be usable to identify them. */ +#define GUALITY_TEST "guality/guality.h" + /* This is the type we use to pass values to guality_check. */ typedef intmax_t gualchk_t; @@ -274,7 +276,7 @@ continue\n\ i = guality_count[INCORRECT]; - fprintf (stderr, "%s: %i PASS, %i FAIL, %i UNRESOLVED\n", + fprintf (stderr, "%s: " GUALITY_TEST ": %i PASS, %i FAIL, %i UNRESOLVED\n", i ? "FAIL" : "PASS", guality_count[PASS], guality_count[INCORRECT], guality_count[INCOMPLETE]); @@ -361,13 +363,13 @@ continue\n\ switch (result) { case PASS: - fprintf (stderr, "PASS: %s is %lli\n", name, value); + fprintf (stderr, "PASS: " GUALITY_TEST ": %s is %lli\n", name, value); break; case INCORRECT: - fprintf (stderr, "FAIL: %s is %lli, not %lli\n", name, xvalue, value); + fprintf (stderr, "FAIL: " GUALITY_TEST ": %s is %lli, not %lli\n", name, xvalue, value); break; case INCOMPLETE: - fprintf (stderr, "%s: %s is %s, expected %lli\n", + fprintf (stderr, "%s: " GUALITY_TEST ": %s is %s, expected %lli\n", unknown_ok ? "UNRESOLVED" : "FAIL", name, unavailable < 0 ? "not computable" : "optimized away", value); result = unknown_ok ? INCOMPLETE : INCORRECT; |