run directed tests along with random when given TEST=all

This commit is contained in:
Saad Khalid 2023-02-09 10:30:05 +00:00
parent 4a48b3c08d
commit da76b69300

View file

@ -315,7 +315,7 @@ class RegressionMetadata(scripts_lib.testdata_cls):
matched_list: ibex_cmd._TestEntries = []
for entry in m.get('tests'):
select_test = any(x in self.test.split(',')
for x in ['all_directed', entry.get('test')])
for x in ['all_directed', 'all', entry.get('test')])
if select_test:
entry.update({'iterations': (self.iterations or entry['iterations'])})
if entry['iterations'] > 0: