about summary refs log tree commit diff stats
path: root/subx/test_layers
diff options
context:
space:
mode:
Diffstat (limited to 'subx/test_layers')
-rwxr-xr-xsubx/test_layers7
1 files changed, 6 insertions, 1 deletions
diff --git a/subx/test_layers b/subx/test_layers
index 5f210c31..306f5d3a 100755
--- a/subx/test_layers
+++ b/subx/test_layers
@@ -13,9 +13,14 @@ do
   ./build_and_test_until $f
 done
 
+# build everything one last time
+clean
+CFLAGS=$CFLAGS ./build  # build optimized by default since we'll be running it repeatedly below
+
 # add SubX files one at a time
 for f in [0-9]*.subx
 do
   echo "=== $f"
-  CFLAGS=-g ./subx translate $(../enumerate/enumerate --until $f |grep '\.subx$') -o foo  &&  ./subx run foo
+  ./subx translate $(../enumerate/enumerate --until $f |grep '\.subx$') -o foo  &&  ./subx run foo
+  echo
 done