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:
Bobby R. Bruce
2021-08-23 13:02:02 -07:00
parent 964e2c0601
commit 5d68d32532
10 changed files with 16 additions and 6 deletions

View File

@@ -42,6 +42,7 @@ sys.path.append(
os.pardir,
os.pardir,
os.pardir,
os.pardir,
)
)

View File

@@ -50,6 +50,7 @@ sys.path.append(
os.pardir,
os.pardir,
os.pardir,
os.pardir,
)
)

View File

@@ -44,6 +44,7 @@ sys.path.append(
os.pardir,
os.pardir,
os.pardir,
os.pardir,
)
)

View File

@@ -46,6 +46,7 @@ sys.path.append(
os.pardir,
os.pardir,
os.pardir,
os.pardir,
)
)

View File

@@ -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",
),

View File

@@ -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",
),

View File

@@ -58,8 +58,9 @@ gem5_verify_config(
fixtures=(),
config=joinpath(
config.base_dir,
"tests",
"gem5",
"configs",
"example",
"components-library",
"simple_binary_run.py",
),

View File

@@ -70,8 +70,9 @@ def test_parsec(
fixtures=(),
config=joinpath(
config.base_dir,
"tests",
"gem5",
"configs",
"example",
"components-library",
"parsec_disk_run.py",
),

View File

@@ -77,8 +77,9 @@ if have_hdf5():
fixtures=(),
config=joinpath(
config.base_dir,
"tests",
"gem5",
"configs",
"example",
"components-library",
"simple_binary_run.py",
),

View File

@@ -74,8 +74,9 @@ def test_boot(
fixtures=(),
config=joinpath(
config.base_dir,
"tests",
"gem5",
"configs",
"example",
"components-library",
"boot_exit_disk_run.py",
),