tests: Moved realview config files
This is part of a process of getting rid of the `tests/config` directory, and placing these configs either where they are used, removing them if unneeded, or moving them to `configs/example`. These config files, in this patchset, are part of the realview tests found in `tests/gem5/fs/linux/arm/`. They have been moved to `tests/gem5/configs`. Change-Id: I7706b59c58da6413f5f3dd816a1e5cd54a834a58 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33143 Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu> Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -38,7 +38,6 @@ import optparse
|
||||
import m5
|
||||
from m5.objects import *
|
||||
from m5.proxy import *
|
||||
m5.util.addToPath('../configs/')
|
||||
from common import FSConfig
|
||||
from common import Options
|
||||
from common.Caches import *
|
||||
@@ -62,7 +62,8 @@ os.environ['M5_PATH'] = sys.argv[2]
|
||||
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, 'configs'))
|
||||
sys.path.append(joinpath(tests_root, 'gem5', 'configs'))
|
||||
|
||||
|
||||
exec(compile(open(config).read(), config, 'exec'))
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ arm_fs_binaries = DownloadedArchive(url, path, tarball)
|
||||
|
||||
for name in arm_fs_quick_tests:
|
||||
args = [
|
||||
joinpath(config.base_dir, 'tests', 'configs', name + '.py'),
|
||||
joinpath(config.base_dir, 'tests', 'gem5', 'configs', name + '.py'),
|
||||
path
|
||||
]
|
||||
gem5_verify_config(
|
||||
@@ -111,7 +111,7 @@ for name in arm_fs_quick_tests:
|
||||
|
||||
for name in arm_fs_long_tests:
|
||||
args = [
|
||||
joinpath(config.base_dir, 'tests', 'configs', name + '.py'),
|
||||
joinpath(config.base_dir, 'tests', 'gem5', 'configs', name + '.py'),
|
||||
path
|
||||
]
|
||||
gem5_verify_config(
|
||||
|
||||
Reference in New Issue
Block a user