From ea5cc4d129cd392c90b4127567d4f3dd4b12d7d6 Mon Sep 17 00:00:00 2001 From: xiaosuGW Date: Mon, 23 Aug 2021 12:28:10 -0500 Subject: [PATCH] update Makefile under tests folder --- runtime/tests/Makefile | 3 ++- runtime/tests/parse_get_avg.py | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/runtime/tests/Makefile b/runtime/tests/Makefile index d744b26..12e8ec0 100644 --- a/runtime/tests/Makefile +++ b/runtime/tests/Makefile @@ -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) diff --git a/runtime/tests/parse_get_avg.py b/runtime/tests/parse_get_avg.py index 0a2cdee..4144aaf 100644 --- a/runtime/tests/parse_get_avg.py +++ b/runtime/tests/parse_get_avg.py @@ -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])