From: Steve Reinhardt Date: Fri, 1 Sep 2006 20:27:24 +0000 (-0400) Subject: diff-out: X-Git-Tag: m5_2.0_beta2~131^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9ab841497426c4172c937d69e6de8b9011b20e0;p=gem5.git 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 --- 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