Sean Wilson has uploaded this change for review. (
https://gem5-review.googlesource.com/3795
Change subject: tests: Add back in x86 tests and support for existing arm
quick tests.
......................................................................
tests: Add back in x86 tests and support for existing arm quick tests.
A lot of the x86 test refs are do not use the ruby modeler. Simply
ignoring all other test systems results in lots of x86 tests going
undetected.
Change-Id: I1c88ba45e4fee3c254db06cac46045dfe6e68524
Signed-off-by: Sean Wilson <[email protected]>
---
M tests/testing/tests.py
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/tests/testing/tests.py b/tests/testing/tests.py
index a83f598..6845b7f 100755
--- a/tests/testing/tests.py
+++ b/tests/testing/tests.py
@@ -165,11 +165,6 @@
"arm" : "MOESI_CMP_directory",
}
-def get_default_protocol(arch):
- try:
- return default_ruby_protocol[arch]
- except KeyError:
- return 'MI-example'
all_categories = ("quick", "long")
all_modes = ("fs", "se")
@@ -347,17 +342,16 @@
else:
configs += generic_configs
- if ruby_protocol == get_default_protocol(isa):
- if ruby_protocol == 'MI_example':
- configs += [ "%s-ruby" % (c, ) for c in configs ]
- else:
- configs += [ "%s-ruby-%s" % (c, ruby_protocol) for c in
configs ]
+ ruby_protocol = default_ruby_protocol.get(isa, 'MI-example')
+
+ if ruby_protocol == 'MI_example':
+ configs += [ "%s-ruby" % (c, ) for c in configs ]
elif ruby_protocol is not None:
# Override generic ISA configs when using Ruby (excluding
# MI_example which is included in all ISAs by default). This
# reduces the number of generic tests we re-run for when
# compiling Ruby targets.
- configs = [ "%s-ruby-%s" % (c, ruby_protocol) for c in configs ]
+ configs += [ "%s-ruby-%s" % (c, ruby_protocol) for c in configs ]
# /(quick|long)/(fs|se)/workload/ref/arch/guest/config/
for conf_script in configs:
--
To view, visit https://gem5-review.googlesource.com/3795
To unsubscribe, visit https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c88ba45e4fee3c254db06cac46045dfe6e68524
Gerrit-Change-Number: 3795
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Wilson <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev