about summary refs log tree commit diff stats
path: root/build3
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-06-06 09:02:40 -0700
committerKartik Agaram <vc@akkartik.com>2018-06-06 09:27:44 -0700
commit53172ce13ab2add6c0000ee11c32e874df67b86e (patch)
tree961b38bdef770a324f8a35ceed1f0f183f8f5446 /build3
parent8f97725d0088d86ae157006234d1d0009b1dbf4c (diff)
downloadmu-53172ce13ab2add6c0000ee11c32e874df67b86e.tar.gz
4253 - support running just a single C test
We've had this ability for Mu scenarios forever.
Diffstat (limited to 'build3')
-rwxr-xr-xbuild31
1 files changed, 1 insertions, 0 deletions
diff --git a/build3 b/build3
index 0d997f6f..09c7398d 100755
--- a/build3
+++ b/build3
@@ -150,6 +150,7 @@ mkdir -p .build
 grep -h "^[^[:space:]#].*) {$" mu.cc  |grep -v ":.*("  |sed 's/ {.*/;/'  |update .build/function_list
 # auto-generate list of tests to run
 grep -h "^\s*void test_" mu.cc  |sed 's/^\s*void \(.*\)() {.*/\1,/'  |update .build/test_list
+grep -h "^\s*void test_" mu.cc  |sed 's/^\s*void \(.*\)() {.*/"\1",/'  |update .build/test_name_list
 mkdir -p .build/termbox
 update_cp termbox/termbox.h .build/termbox