From: Andreas Sandberg Date: Thu, 2 Jun 2016 09:48:45 +0000 (+0100) Subject: tests: Only run Ruby tests when testing Ruby targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10880031354bb886cdc313fbfecb2154ae469eac;p=gem5.git 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 Reviewed-by: Curtis Dunham --- 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: