about summary refs log tree commit diff stats
path: root/subx/build
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-06-28 22:03:48 -0700
committerKartik Agaram <vc@akkartik.com>2018-06-28 22:03:48 -0700
commite1eefb8a8a25312754b64f7b74f76c0ee05cace7 (patch)
treea121d842bdca82e23972ca9c916e3fafaa5d943c /subx/build
parentcd23c8b6fe2b7ce2f3771c0571b920404a4ce88e (diff)
downloadmu-e1eefb8a8a25312754b64f7b74f76c0ee05cace7.tar.gz
4288
Give subx too the recent support for running a single test.
Diffstat (limited to 'subx/build')
-rwxr-xr-xsubx/build1
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/build b/subx/build
index 7d01f975..3bcbfc0c 100755
--- a/subx/build
+++ b/subx/build
@@ -98,6 +98,7 @@ older_than subx.cc $LAYERS ../enumerate/enumerate ../tangle/tangle && {
 
 grep -h "^[^[:space:]#].*) {$" subx.cc  |grep -v ":.*("  |sed 's/ {.*/;/'  |update function_list
 grep -h "^\s*void test_" subx.cc  |sed 's/^\s*void \(.*\)() {.*/\1,/'  |update test_list
+grep -h "^\s*void test_" subx.cc  |sed 's/^\s*void \(.*\)() {.*/"\1",/'  |update test_name_list
 
 older_than subx_bin subx.cc *_list && {
   $CXX $CFLAGS subx.cc -o subx_bin