summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2016-03-03 18:01:10 +0100
committerChristophe Lyon <christophe.lyon@linaro.org>2016-03-04 18:24:06 +0100
commit1176f960807a174dcf865bafabfd5b22c9cd313c (patch)
treedcbeeb6bbaded7913fe7fa1dd78f8cf05bddada1
parent85b275f8fdbe839997f8929d5a7fd8fbe20ecf6f (diff)
compare_dg_tests.pl: Print an error instead of a warning
when pass ratio is too low. Indeed, this results in an error return-code, and printing a warning is confusing. Change-Id: Ibd2b84173a79de39334f4b67b55513b893ba467d
-rwxr-xr-xcompare_dg_tests.pl4
-rw-r--r--testsuite/expected-1-2.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/compare_dg_tests.pl b/compare_dg_tests.pl
index 2bccb7f..cc45605 100755
--- a/compare_dg_tests.pl
+++ b/compare_dg_tests.pl
@@ -463,11 +463,11 @@ sub print_compare_results_summary($$)
printf " RES PASS ratio: %.2f\n", $res_ratio;
if ($ref_ratio < $ratio_thresh)
{
- printf " ***** WARNING: REF PASS ratio is abnormally low *****\n";
+ printf " ***** ERROR: REF PASS ratio is abnormally low *****\n";
}
if ($res_ratio < $ratio_thresh)
{
- printf " ***** WARNING: RES PASS ratio is abnormally low *****\n";
+ printf " ***** ERROR: RES PASS ratio is abnormally low *****\n";
}
# If both PASS and FAIL EXEC tests are zero, assume there is no
diff --git a/testsuite/expected-1-2.txt b/testsuite/expected-1-2.txt
index 9aa53c4..2b8b883 100644
--- a/testsuite/expected-1-2.txt
+++ b/testsuite/expected-1-2.txt
@@ -16,8 +16,8 @@ o RUN STATUS: | REF | RES |
REF PASS ratio: 0.29
RES PASS ratio: 0.48
- ***** WARNING: REF PASS ratio is abnormally low *****
- ***** WARNING: RES PASS ratio is abnormally low *****
+ ***** ERROR: REF PASS ratio is abnormally low *****
+ ***** ERROR: RES PASS ratio is abnormally low *****
***** ERROR: No REF execution test PASSed. Check execution engine configuration. *****
***** WARNING: No RES execution test FAILed. Check execution engine configuration. *****