summaryrefslogtreecommitdiff
path: root/tests/run.py
diff options
context:
space:
mode:
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__)