configs,test: Move components-lib scripts to tests
Previously these scripts were in `configs/example/components-library` though they are now used purely for testing purposes and have therefore been moved to `tests/gem5/configs/example/components-library`. There should be example scripts for usage of the components library, but these scripts are no longer suitable since being made more flexible for the purposes of testing. Change-Id: I7c4d5bb86fe94898f006220dd962841344b1868e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49558 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
@@ -42,6 +42,7 @@ sys.path.append(
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
)
|
||||
)
|
||||
|
||||
@@ -50,6 +50,7 @@ sys.path.append(
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
)
|
||||
)
|
||||
|
||||
@@ -44,6 +44,7 @@ sys.path.append(
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
)
|
||||
)
|
||||
|
||||
@@ -46,6 +46,7 @@ sys.path.append(
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
os.pardir,
|
||||
)
|
||||
)
|
||||
|
||||
@@ -101,8 +101,9 @@ def verify_config(isa, binary, cpu, hosts):
|
||||
verifiers=(stdout_verifier,),
|
||||
config=joinpath(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"configs",
|
||||
"example",
|
||||
"components-library",
|
||||
"simple_binary_run.py",
|
||||
),
|
||||
|
||||
@@ -52,8 +52,9 @@ for isa in test_progs:
|
||||
verifiers=verifiers,
|
||||
config=joinpath(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"configs",
|
||||
"example",
|
||||
"components-library",
|
||||
"simple_binary_run.py",
|
||||
),
|
||||
|
||||
@@ -58,8 +58,9 @@ gem5_verify_config(
|
||||
fixtures=(),
|
||||
config=joinpath(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"configs",
|
||||
"example",
|
||||
"components-library",
|
||||
"simple_binary_run.py",
|
||||
),
|
||||
|
||||
@@ -70,8 +70,9 @@ def test_parsec(
|
||||
fixtures=(),
|
||||
config=joinpath(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"configs",
|
||||
"example",
|
||||
"components-library",
|
||||
"parsec_disk_run.py",
|
||||
),
|
||||
|
||||
@@ -77,8 +77,9 @@ if have_hdf5():
|
||||
fixtures=(),
|
||||
config=joinpath(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"configs",
|
||||
"example",
|
||||
"components-library",
|
||||
"simple_binary_run.py",
|
||||
),
|
||||
|
||||
@@ -74,8 +74,9 @@ def test_boot(
|
||||
fixtures=(),
|
||||
config=joinpath(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"configs",
|
||||
"example",
|
||||
"components-library",
|
||||
"boot_exit_disk_run.py",
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user