diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-09-01 16:27:24 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-09-01 16:27:24 -0400 |
commit | e9ab841497426c4172c937d69e6de8b9011b20e0 (patch) | |
tree | bafbd8418d86165424c31c7c69e01bca8a68f972 /tests | |
parent | 30c93db06552e768611f8541eee3176ca465f7c1 (diff) | |
download | gem5-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')
-rwxr-xr-x | tests/diff-out | 4 |
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 |