summaryrefslogtreecommitdiff
path: root/tests/diff-out
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-09-01 16:27:24 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2006-09-01 16:27:24 -0400
commite9ab841497426c4172c937d69e6de8b9011b20e0 (patch)
treebafbd8418d86165424c31c7c69e01bca8a68f972 /tests/diff-out
parent30c93db06552e768611f8541eee3176ca465f7c1 (diff)
downloadgem5-e9ab841497426c4172c937d69e6de8b9011b20e0.tar.xz
diff-out:
Don't consider it a success if no stats at all were found. tests/diff-out: Don't consider it a success if no stats at all were found. --HG-- extra : convert_revision : 733f10abdf17d1f7eeca912f84f3df37e56fe510
Diffstat (limited to 'tests/diff-out')
-rwxr-xr-xtests/diff-out4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/diff-out b/tests/diff-out
index 5ebe97dd7..1308eccfb 100755
--- a/tests/diff-out
+++ b/tests/diff-out
@@ -398,8 +398,8 @@ if ($added_stats)
}
cleanup();
-# Exit code is 0 if no stats error, 1 otherwise
-$status = ($max_err_mag == 0.0) ? 0 : 1;
+# Exit code is 0 if some stats found & no stats error, 1 otherwise
+$status = ($#key_stats >= 0 && $max_err_mag == 0.0) ? 0 : 1;
exit $status;
sub cleanup