summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJason Lowe-Power <jason@lowepower.com>2019-03-14 10:05:46 -0700
committerJason Lowe-Power <jason@lowepower.com>2019-03-21 15:57:10 +0000
commitfced86b061b9419b9e44cd79a5af428a453779f3 (patch)
treecd35fd1d19c3ca7ec8406c11d111107c77121a4e /tests
parentf871fd33e11f9c989a865db20d2e478b0b4418b5 (diff)
downloadgem5-fced86b061b9419b9e44cd79a5af428a453779f3.tar.xz
ext,tests: Make return code based on test results
This patch also fixes a spelling mistake. Change-Id: I8635216e512c10913a9cda54541d7e31e0d22a40 Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17450 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.py b/tests/main.py
index 779445d81..5cd68e91d 100755
--- a/tests/main.py
+++ b/tests/main.py
@@ -21,4 +21,4 @@ import testlib.config as config
import testlib.helper as helper
config.basedir = helper.absdirpath(__file__)
-testlib()
+sys.exit(testlib())