diff --git a/tests/gem5/fs/linux/arm/run.py b/tests/gem5/fs/linux/arm/run.py index f0ba9bd68f..a0d782bcd4 100644 --- a/tests/gem5/fs/linux/arm/run.py +++ b/tests/gem5/fs/linux/arm/run.py @@ -57,9 +57,9 @@ def run_test(root): config = sys.argv[1] os.environ['M5_PATH'] = sys.argv[2] +gem5_root = sys.argv[3] # path setup -gem5_root = joinpath(os.path.dirname(__file__), '..', '..', '..', '..', '..') sys.path.append(joinpath(gem5_root, 'configs')) tests_root = joinpath(gem5_root, 'tests') sys.path.append(joinpath(tests_root, 'gem5', 'configs')) diff --git a/tests/gem5/fs/linux/arm/test.py b/tests/gem5/fs/linux/arm/test.py index 80a2af69e9..33ca33e4dd 100644 --- a/tests/gem5/fs/linux/arm/test.py +++ b/tests/gem5/fs/linux/arm/test.py @@ -97,7 +97,8 @@ arm_fs_binaries = DownloadedArchive(url, path, tarball) for name in arm_fs_quick_tests: args = [ joinpath(config.base_dir, 'tests', 'gem5', 'configs', name + '.py'), - path + path, + config.base_dir ] gem5_verify_config( name=name, @@ -112,7 +113,8 @@ for name in arm_fs_quick_tests: for name in arm_fs_long_tests: args = [ joinpath(config.base_dir, 'tests', 'gem5', 'configs', name + '.py'), - path + path, + config.base_dir ] gem5_verify_config( name=name,