summaryrefslogtreecommitdiff
path: root/tests/run.py
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2009-03-07 16:58:51 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2009-03-07 16:58:51 -0800
commit4f1855484c1fe148d66b2dbc2dc0d7964b578c5c (patch)
tree9b3d7740f195c3d11f3b3c26d77c0290ccf93f5b /tests/run.py
parent5cf060576623f3681b497c46934fb4fe6f8853a6 (diff)
downloadgem5-4f1855484c1fe148d66b2dbc2dc0d7964b578c5c.tar.xz
Fix up regression execution to better handle tests that end abnormally.
E.g., mark aborts due to assertion failures as failed tests, but those that get killed by the user as needing to be rerun, etc.
Diffstat (limited to 'tests/run.py')
-rw-r--r--tests/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.py b/tests/run.py
index aadc16b93..df26c88c5 100644
--- a/tests/run.py
+++ b/tests/run.py
@@ -34,7 +34,7 @@ import m5
m5.disableAllListeners()
# single "path" arg encodes everything we need to know about test
-(category, name, isa, opsys, config) = sys.argv[1].split('/')
+(category, name, isa, opsys, config) = sys.argv[1].split('/')[-5:]
# find path to directory containing this file
tests_root = os.path.dirname(__file__)