diff options
Diffstat (limited to 'build2')
-rwxr-xr-x | build2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build2 b/build2 index 80c9c820..fd065f08 100755 --- a/build2 +++ b/build2 @@ -100,9 +100,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 } |