|
@@ -105,10 +105,18 @@ class Metadata:
|
|
|
|
|
|
# Filter
|
|
|
for test in config_tests:
|
|
|
+ if hasattr(test, "tags"):
|
|
|
+ if "broken" in test.tags:
|
|
|
+ continue
|
|
|
+ if self.benchmarker.config.tag:
|
|
|
+ for t in self.benchmarker.config.tag:
|
|
|
+ if t in test.tags and test.name not in exclude:
|
|
|
+ tests.append(test)
|
|
|
+ break
|
|
|
if len(include) > 0:
|
|
|
if test.name in include:
|
|
|
tests.append(test)
|
|
|
- elif test.name not in exclude:
|
|
|
+ elif test.name not in exclude and not self.benchmarker.config.tag:
|
|
|
tests.append(test)
|
|
|
|
|
|
# Ensure we were able to locate everything that was
|
|
@@ -121,7 +129,7 @@ class Metadata:
|
|
|
|
|
|
tests.sort(key=lambda x: x.name)
|
|
|
|
|
|
- return tests
|
|
|
+ return list(set(tests))
|
|
|
|
|
|
def tests_to_run(self):
|
|
|
'''
|
|
@@ -245,7 +253,8 @@ class Metadata:
|
|
|
"database_os": test.database_os,
|
|
|
"display_name": test.display_name,
|
|
|
"notes": test.notes,
|
|
|
- "versus": test.versus
|
|
|
+ "versus": test.versus,
|
|
|
+ "tags": hasattr(test, "tags") and test.tags or []
|
|
|
}, all_tests))
|
|
|
|
|
|
with open(
|