diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2009-03-07 16:58:51 -0800 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2009-03-07 16:58:51 -0800 |
commit | 4f1855484c1fe148d66b2dbc2dc0d7964b578c5c (patch) | |
tree | 9b3d7740f195c3d11f3b3c26d77c0290ccf93f5b /tests/run.py | |
parent | 5cf060576623f3681b497c46934fb4fe6f8853a6 (diff) | |
download | gem5-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.py | 2 |
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__) |