equal
deleted
inserted
replaced
1178 (options, args) = parseargs() |
1178 (options, args) = parseargs() |
1179 os.umask(022) |
1179 os.umask(022) |
1180 |
1180 |
1181 checktools() |
1181 checktools() |
1182 |
1182 |
1183 if len(args) == 0: |
1183 if not args: |
1184 args = [t for t in os.listdir(".") |
1184 args = os.listdir(".") |
1185 if t.startswith("test-") |
1185 |
1186 and (t.endswith(".py") or t.endswith(".t"))] |
1186 tests = [t for t in args |
1187 |
1187 if t.startswith("test-") |
1188 tests = args |
1188 and (t.endswith(".py") or t.endswith(".t"))] |
1189 |
1189 |
1190 if options.random: |
1190 if options.random: |
1191 random.shuffle(tests) |
1191 random.shuffle(tests) |
1192 else: |
1192 else: |
1193 # keywords for slow tests |
1193 # keywords for slow tests |