mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-20 19:33:58 +08:00
dg-cmp-results: display NA->FAIL & NA->UNRESOLVED by default
Currently, dg-cmp-results will not print anything for a test that was not run before, even if it is a FAIL or UNRESOLVED now. This means that when contributing a code change together with a testcase in the same commit one must run dg-cmp-results twice: once to check for regression on a full testsuite run and once against the new testcase with -v -v. This also prevents using dg-cmp-results on sum files generated with test_summary since these would not contain PASS. This patch changes dg-cmp-results to print NA->FAIL and NA->UNRESOLVED changes by default. 2018-10-25 Thomas Preud'homme <thomas.preudhomme@linaro.org> contrib/ * dg-cmp-results.sh: Print NA-FAIL and NA->UNRESOLVED changes at default verbosity. From-SVN: r265483
This commit is contained in:
parent
541eccada3
commit
46ec926100
@ -1,3 +1,8 @@
|
|||||||
|
2018-10-25 Thomas Preud'homme <thomas.preudhomme@linaro.org>
|
||||||
|
|
||||||
|
* dg-cmp-results.sh: Print NA-FAIL and NA->UNRESOLVED changes at
|
||||||
|
default verbosity.
|
||||||
|
|
||||||
2018-10-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
2018-10-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
* config-list.mk (LIST): Switch to i686-solaris2.11,
|
* config-list.mk (LIST): Switch to i686-solaris2.11,
|
||||||
|
@ -137,8 +137,11 @@ function drop() {
|
|||||||
function compare(st, nm) {
|
function compare(st, nm) {
|
||||||
old = peek()
|
old = peek()
|
||||||
if (old == 0) {
|
if (old == 0) {
|
||||||
# This new test wasn't run last time.
|
# This new test wasn't run last time.
|
||||||
if (verbose >= 2) printf("NA->%s:%s\n", st, nm)
|
if(st == "FAIL" || st == "UNRESOLVED" || verbose >= 2) {
|
||||||
|
# New test fails or we want all changes
|
||||||
|
printf("NA->%s:%s\n", st, nm)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
# Compare this new test to the first queued old one.
|
# Compare this new test to the first queued old one.
|
||||||
|
Loading…
Reference in New Issue
Block a user