update Makefile under tests folder

main
xiaosuGW 3 years ago
parent 5a03420071
commit ea5cc4d129

@ -1,6 +1,7 @@
include Makefile.inc
TESTS=fibonacci fibonacci2 fibonacci3 big_fibonacci C-Image-Manip empty work work1k work10k work100k work1m forever filesys sockserver sockclient empty
#TESTS=fibonacci fibonacci2 fibonacci3 big_fibonacci C-Image-Manip empty work work1k work10k work100k work1m forever filesys sockserver sockclient empty
TESTS=fibonacci big_fibonacci C-Image-Manip empty work work1k work10k work100k work1m forever filesys sockserver sockclient empty
TESTSRT=$(TESTS:%=%_rt)

@ -26,6 +26,12 @@ def parse_file(file_dir):
fo = open(file_dir, "r+")
next(fo)
for line in fo:
if "module " in line:
#jump two lines
next(fo)
continue
if "min" in line or "miss" in line or "meet" in line:
continue
t = line.split(",")
id = t[0]
running_time_dict[id] += int(t[8])

Loading…
Cancel
Save