summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2016-03-07 14:22:45 +0000
committerLinaro Code Review <review@review.linaro.org>2016-03-07 14:22:45 +0000
commit9e7524088987b1fc67c79446506e862a77a84cc4 (patch)
tree9e1a07cd163538e20fdfb0246bb9ff435163c859
parent1557e7b2322404178f51dbf0efb1e073dbef8478 (diff)
parent1176f960807a174dcf865bafabfd5b22c9cd313c (diff)
Merge "compare_dg_tests.pl: Print an error instead of a warning when pass ratio is too low."
-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. *****