mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-20 03:47:15 -04:00
Add 'all_directed' and 'all_riscvdv' as special TEST targets
Running the Makefile dv flow with TEST=all_directed or TEST=all_riscvdv will run all of the tests from either source of tests.
This commit is contained in:
parent
afef45d78e
commit
15da9f9753
1 changed files with 6 additions and 2 deletions
|
@ -295,7 +295,9 @@ class RegressionMetadata(scripts_lib.testdata_cls):
|
|||
# Get all the tests from the 'testlist' that match the 'test' argument.
|
||||
riscvdv_lib.process_regression_list(
|
||||
testlist=self.ibex_riscvdv_testlist,
|
||||
test=(self.test or 'all'),
|
||||
test=('all' if any(x in self.test.split(',')
|
||||
for x in ['all_riscvdv', 'all']) else
|
||||
self.test),
|
||||
iterations=(self.iterations or 0),
|
||||
matched_list=matched_list,
|
||||
riscv_dv_root=self.riscvdv_root)
|
||||
|
@ -312,7 +314,9 @@ class RegressionMetadata(scripts_lib.testdata_cls):
|
|||
|
||||
matched_list: ibex_cmd._TestEntries = []
|
||||
for entry in m.get('tests'):
|
||||
if (entry.get('test') in self.test.split(',')) or (self.test == "all"):
|
||||
select_test = any(x in self.test.split(',')
|
||||
for x in ['all_directed', entry.get('test')])
|
||||
if select_test:
|
||||
entry.update({'iterations': (self.iterations or entry['iterations'])})
|
||||
if entry['iterations'] > 0:
|
||||
matched_list.append(entry)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue