From 10880031354bb886cdc313fbfecb2154ae469eac Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Thu, 2 Jun 2016 10:48:45 +0100 Subject: 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 --- tests/testing/tests.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') 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: -- cgit v1.2.3