about summary refs log tree commit diff stats
path: root/build4
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 /build4
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 'build4')
-rwxr-xr-xbuild41
1 files changed, 1 insertions, 0 deletions
diff --git a/build4 b/build4
index 132d9138..66b7a74c 100755
--- a/build4
+++ b/build4
@@ -193,6 +193,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