summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-06-02 10:48:45 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2016-06-02 10:48:45 +0100
commit10880031354bb886cdc313fbfecb2154ae469eac (patch)
treeb3e23e1499da2e145d26f95f50b79072048f6866 /tests
parent21f971e4d1bac047cf7147249409e8842ef6272c (diff)
downloadgem5-10880031354bb886cdc313fbfecb2154ae469eac.tar.xz
tests: Only run Ruby tests when testing Ruby targets
Limit the test configs to Ruby-only configs when testing a Ruby target that isn't MI_example. This avoids re-running configs that has already been tested by the generic (non-Ruby) ISA target. This behavior was the expected behavior prior to switching to the new test framework. Change-Id: I3f138dbf9c7071ce862d1073aaec57c59afbc921 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/testing/tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/testing/tests.py b/tests/testing/tests.py
index cf32e5c83..ae15d6d89 100644
--- a/tests/testing/tests.py
+++ b/tests/testing/tests.py
@@ -326,7 +326,11 @@ def get_tests(isa,
if ruby_protocol == 'MI_example':
configs += [ "%s-ruby" % (c, ) for c in configs ]
elif ruby_protocol is not None:
- configs += [ "%s-ruby-%s" % (c, ruby_protocol) for c in configs ]
+ # 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 ]
# /(quick|long)/(fs|se)/workload/ref/arch/guest/config/
for conf_script in configs: