Index: tools/run-tests.py |
diff --git a/tools/run-tests.py b/tools/run-tests.py |
index b51b4a8957ef05b8f772d477fcb03b49808b9d31..c09ea064d9f083df79d3eeb31eb0be74203168d6 100755 |
--- a/tools/run-tests.py |
+++ b/tools/run-tests.py |
@@ -298,9 +298,9 @@ def Execute(arch, mode, args, options, suites, workspace): |
for s in suites: |
s.ReadStatusFile(variables) |
s.ReadTestCases(ctx) |
- all_tests += s.tests |
if len(args) > 0: |
s.FilterTestCasesByArgs(args) |
+ all_tests += s.tests |
s.FilterTestCasesByStatus(options.warn_unused) |
if options.cat: |
verbose.PrintTestSource(s.tests) |