Browse Source

Fix order of tests (#5260)

* Add tag support

* add --list-tag

* filter out broken tests

* fix test order

* :/
Nate 5 years ago
parent
commit
7d194c0c2a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      toolset/utils/metadata.py

+ 2 - 1
toolset/utils/metadata.py

@@ -127,9 +127,10 @@ class Metadata:
                 missing = list(set(include) - set(names))
                 missing = list(set(include) - set(names))
                 raise Exception("Unable to locate tests %s" % missing)
                 raise Exception("Unable to locate tests %s" % missing)
 
 
+        tests = list(set(tests))
         tests.sort(key=lambda x: x.name)
         tests.sort(key=lambda x: x.name)
 
 
-        return list(set(tests))
+        return tests
 
 
     def tests_to_run(self):
     def tests_to_run(self):
         '''
         '''