diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-25 12:24:00 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-25 13:07:01 -0700 |
commit | f898ee7a374c20f58150158a5066f547060d9c24 (patch) | |
tree | 2660867079b0a36f4b4a27bfec1d5dd00cc1f521 /build1 | |
parent | d7297b82c57b7920d6cff9c22e87afe77451a786 (diff) | |
download | mu-f898ee7a374c20f58150158a5066f547060d9c24.tar.gz |
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.
Diffstat (limited to 'build1')
-rwxr-xr-x | build1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build1 b/build1 index dbb58cfd..2551cfeb 100755 --- a/build1 +++ b/build1 @@ -37,9 +37,11 @@ cd tangle ls [0-9]*.test.cc |sed 's/.*/#include "&"/' > test_file_list # list of tests to run grep -h "^[[:space:]]*void test_" [0-9]*.cc |sed 's/^\s*void \(.*\)() {$/\1,/' > test_list + grep -h "^\s*void test_" [0-9]*.cc |sed 's/^\s*void \(.*\)() {.*/"\1",/' > test_name_list # } # Now that we have all the _lists, compile 'tangle' $CXX $CFLAGS boot.cc -o tangle + ./tangle test cd .. cd termbox |