diff options
author | Bobby R. Bruce <bbruce@ucdavis.edu> | 2019-11-22 16:39:30 -0800 |
---|---|---|
committer | Bobby R. Bruce <bbruce@ucdavis.edu> | 2020-01-15 20:38:55 +0000 |
commit | 6e9bc2bdc7c8011489e68291ba6e81c428e7b0a1 (patch) | |
tree | 51cfbe77cf2a1dd6f8b030d9e43e79c3f9d2e340 | |
parent | 5698c2b52d756d5f11222559b75a038fea0cf52d (diff) | |
download | gem5-6e9bc2bdc7c8011489e68291ba6e81c428e7b0a1.tar.xz |
tests: Migrated old quick/se/00.hello tests
Migrated old quick/se/00.hello tests over to the new testing frame work
(i.e., that executed via `./tests/main.py run`). These fail, so they are
currently being ignored.
These tests now pull from the http://dist.gem5.org cloud storage.
Change-Id: Iff94cce53655bc629a3deb1e11d8d194824751d4
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23024
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
-rw-r--r-- | tests/gem5/.testignore | 12 | ||||
-rw-r--r-- | tests/gem5/hello_se/test_hello_se.py | 8 |
2 files changed, 18 insertions, 2 deletions
diff --git a/tests/gem5/.testignore b/tests/gem5/.testignore new file mode 100644 index 000000000..99911b843 --- /dev/null +++ b/tests/gem5/.testignore @@ -0,0 +1,12 @@ +test-hello-RISCV-opt +test-hello-RISCV-debug +test-hello-RISCV-fast +test-hello-SPARC-opt +test-hello-SPARC-debug +test-hello-SPARC-fast +test-hello-MIPS-opt +test-hello-MIPS-debug +test-hello-MIPS-fast +test-hello-ALPHA-opt +test-hello-ALPHA-debug +test-hello-ALPHA-fast diff --git a/tests/gem5/hello_se/test_hello_se.py b/tests/gem5/hello_se/test_hello_se.py index cc62efb71..3ebf40cce 100644 --- a/tests/gem5/hello_se/test_hello_se.py +++ b/tests/gem5/hello_se/test_hello_se.py @@ -34,9 +34,13 @@ from testlib import * test_progs = { 'x86': ('hello64-static', 'hello64-dynamic', 'hello32-static'), 'arm': ('hello64-static', 'hello32-static'), + 'alpha': ('hello',), + 'mips': ('hello',), + 'riscv': ('hello',), + 'sparc': ('hello',) } -urlbase = 'http://gem5.org/dist/current/test-progs/hello/bin/' +urlbase = 'http://dist.gem5.org/dist/current/test-progs/hello/bin/' for isa in test_progs: for binary in test_progs[isa]: import os @@ -52,7 +56,7 @@ for isa in test_progs: ) gem5_verify_config( - name='test'+binary, + name='test-'+binary, fixtures=(hello_program,), verifiers=verifiers, config=joinpath(config.base_dir, 'configs', 'example','se.py'), |