From f898ee7a374c20f58150158a5066f547060d9c24 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 25 Jul 2018 12:24:00 -0700 Subject: 4403 Couple of improvements for the tangle/ directory: a) Start running tangle unit tests at build time again. b) Option to print out test names as they run, just like in top-level. --- build3 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build3') diff --git a/build3 b/build3 index 09c7398d..db251087 100755 --- a/build3 +++ b/build3 @@ -125,9 +125,11 @@ older_than tangle/tangle tangle/*.cc && { ls [0-9]*.test.cc |sed 's/.*/#include "&"/' |update test_file_list # list of tests to run grep -h "^[[:space:]]*void test_" [0-9]*.cc |sed 's/^\s*void \(.*\)() {$/\1,/' |update test_list + grep -h "^\s*void test_" [0-9]*.cc |sed 's/^\s*void \(.*\)() {.*/"\1",/' |update test_name_list # } # Now that we have all the _lists, compile 'tangle' $CXX $CFLAGS boot.cc -o tangle + ./tangle test noisy_cd .. # no effect; just to show us returning to the parent directory } -- cgit 1.4.1-2-gfad0