diff options
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2020-01-16 10:34:42 +0000 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2020-01-21 09:13:07 +0000 |
commit | 1a8f8e3e43429a5c8b79592e77b312f06f0eaa00 (patch) | |
tree | 7b6af2b98b6e37db903327d4b4b90515d8bf6905 /tests/gem5/fs/linux/arm/run.py | |
parent | 519808c02f2d5d780bf09589d2e29803a5af1ade (diff) | |
download | gem5-1a8f8e3e43429a5c8b79592e77b312f06f0eaa00.tar.xz |
tests: fs/linux/arm passing M5_PATH via commandline
This will make it configurable from the testing framework
Change-Id: If82d5e44927c67a1eaecf41505d1d55a6469a4cf
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24524
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'tests/gem5/fs/linux/arm/run.py')
-rw-r--r-- | tests/gem5/fs/linux/arm/run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem5/fs/linux/arm/run.py b/tests/gem5/fs/linux/arm/run.py index f4d7f46a3..2183b5d09 100644 --- a/tests/gem5/fs/linux/arm/run.py +++ b/tests/gem5/fs/linux/arm/run.py @@ -1,4 +1,4 @@ -# Copyright (c) 2012, 2019 ARM Limited +# Copyright (c) 2012, 2019-2020 ARM Limited # All rights reserved # # The license below extends only to copyright in the software and shall @@ -59,7 +59,7 @@ def run_test(root): print('Exiting @ tick', m5.curTick(), 'because', exit_event.getCause()) config = sys.argv[1] -os.environ['M5_PATH'] = os.path.dirname(__file__) +os.environ['M5_PATH'] = sys.argv[2] # path setup gem5_root = joinpath(os.path.dirname(__file__), '..', '..', '..', '..', '..') |