Sorted the test cases by modified time
This commit is contained in:
parent
6dbf32a5b1
commit
673d0297aa
2
ucompile
2
ucompile
@ -23,7 +23,7 @@ def run_input_cases(program, args):
|
||||
tests_dir = args.tests_dir if args.tests_dir else "."
|
||||
time_flag = args.time
|
||||
|
||||
input_files = glob(os.path.join(tests_dir, "*.in"))
|
||||
input_files = sorted(glob(os.path.join(tests_dir, "*.in")), key=os.path.getmtime)
|
||||
|
||||
if len(input_files) < 1:
|
||||
if time_flag:
|
||||
|
Loading…
x
Reference in New Issue
Block a user