From 6042828bdea2a1ed1da1b0d2013a4479fb3d005a Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 17 Feb 2015 14:05:01 -0800 Subject: 774 - start persisting test traces --- cpp/makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/makefile') diff --git a/cpp/makefile b/cpp/makefile index 1c7e1380..0dcdbce5 100644 --- a/cpp/makefile +++ b/cpp/makefile @@ -9,6 +9,7 @@ type_list: boot.cc [0-9]*.cc function_list: boot.cc [0-9]*.cc @# assumes function decl has space before '{' @grep -h "^[^ #].*) {" [0-9]*.cc |perl -pwe 's/ {.*/;/' > function_list + @grep -h "^[[:space:]]*TEST(" [0-9]*.cc |perl -pwe 's/^\s*TEST\((.*)\)$$/void test_$$1();/' >> function_list file_list: boot.cc [0-9]*.cc @ls [0-9]*.cc |grep -v "\.test\.cc$$" |perl -pwe 's/.*/#include "$$&"/' > file_list @@ -18,6 +19,7 @@ test_file_list: [0-9]*.test.cc test_list: [0-9]*.cc @grep -h "^[[:space:]]*void test_" [0-9]*.cc |perl -pwe 's/^\s*void (.*)\(\) {$$/$$1,/' > test_list + @grep -h "^[[:space:]]*TEST(" [0-9]*.cc |perl -pwe 's/^\s*TEST\((.*)\)$$/test_$$1,/' >> test_list clean: rm -rf mu* *_list -- cgit 1.4.1-2-gfad0