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>
This commit is contained in:
parent
21f971e4d1
commit
1088003135
1 changed files with 5 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue