branch | stable |
changeset 1228 | db145eefc724 |
parent 1227 | afafc1812f7b |
child 1229 | e92556041140 |
1227:afafc1812f7b | 1228:db145eefc724 |
---|---|
1242 os.umask(022) |
1242 os.umask(022) |
1243 |
1243 |
1244 checktools() |
1244 checktools() |
1245 |
1245 |
1246 if len(args) == 0: |
1246 if len(args) == 0: |
1247 args = sorted(os.listdir(".")) |
1247 args = sorted(t for t in os.listdir(".") |
1248 if t.startswith("test-") |
|
1249 and (t.endswith(".py") or t.endswith(".t"))) |
|
1248 |
1250 |
1249 tests = args |
1251 tests = args |
1250 |
1252 |
1251 if options.random: |
1253 if options.random: |
1252 random.shuffle(tests) |
1254 random.shuffle(tests) |