summaryrefslogtreecommitdiffstats
path: root/SCons/cppTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'SCons/cppTests.py')
-rw-r--r--SCons/cppTests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/SCons/cppTests.py b/SCons/cppTests.py
index c19046c..99fa6cf 100644
--- a/SCons/cppTests.py
+++ b/SCons/cppTests.py
@@ -878,10 +878,9 @@ if __name__ == '__main__':
for tclass in tclasses:
names = unittest.getTestCaseNames(tclass, 'test_')
try:
- names = list(set(names))
+ names = sorted(set(names))
except NameError:
pass
- names.sort()
suite.addTests(list(map(tclass, names)))
TestUnit.run(suite)