Show More
@@ -1287,14 +1287,17 b' def main():' | |||
|
1287 | 1287 | checktools() |
|
1288 | 1288 | |
|
1289 | 1289 | if len(args) == 0: |
|
1290 |
args = |
|
|
1291 |
|
|
|
1292 |
|
|
|
1290 | args = [t for t in os.listdir(".") | |
|
1291 | if t.startswith("test-") | |
|
1292 | and (t.endswith(".py") or t.endswith(".t"))] | |
|
1293 | 1293 | |
|
1294 | 1294 | tests = args |
|
1295 | 1295 | |
|
1296 | 1296 | if options.random: |
|
1297 | 1297 | random.shuffle(tests) |
|
1298 | else: | |
|
1299 | # run largest tests first, as they tend to take the longest | |
|
1300 | tests.sort(key=lambda x: -os.stat(x).st_size) | |
|
1298 | 1301 | |
|
1299 | 1302 | if 'PYTHONHASHSEED' not in os.environ: |
|
1300 | 1303 | # use a random python hash seed all the time |
General Comments 0
You need to be logged in to leave comments.
Login now