Sorted the names so they'd go in a predictable order.

This commit is contained in:
Jeremy Fincher 2003-10-21 06:11:34 +00:00
parent ab2bea589a
commit baa9922f5f

View File

@ -395,6 +395,7 @@ if __name__ == '__main__':
world.testing = True world.testing = True
names = [os.path.splitext(os.path.basename(name))[0] for name in args] names = [os.path.splitext(os.path.basename(name))[0] for name in args]
names.sort()
suite = unittest.defaultTestLoader.loadTestsFromNames(names) suite = unittest.defaultTestLoader.loadTestsFromNames(names)
runner = unittest.TextTestRunner(verbosity=2) runner = unittest.TextTestRunner(verbosity=2)
runner.run(suite) runner.run(suite)