about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
-rwxr-xr-xtest_layers2
2 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 17aeee0a..38c05ead 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,10 +30,12 @@ matrix:
     - env: COMMAND=./test_layers CXX=clang++ START=edit3
     - env: COMMAND=./test_layers CXX=clang++ START=edit4
     - env: COMMAND=./test_layers CXX=g++ START=one-off  # minimal testing for gcc
-    - env: COMMAND=./subx/test_layers
+    # other build scripts
     - env: COMMAND=./test_layers BUILD=build0 START=one-off
     - env: COMMAND=./test_layers BUILD=build1 START=one-off
     - env: COMMAND=./test_layers BUILD=build2 START=one-off
+    # other directories
+    - env: COMMAND=./subx/test_layers
 
 script:
   - $COMMAND $START $END
diff --git a/test_layers b/test_layers
index 9cbc12e5..47cb01b0 100755
--- a/test_layers
+++ b/test_layers
@@ -30,7 +30,7 @@ do
   if [[ $f < $1 ]]; then continue; fi
   if [[ $2 && $f > $2 ]]; then exit 0; fi
   echo "=== $f"
-  rm -rf .build mu.cc mu_bin core.mu  # force full rebuild for top-level, but not subsidiary tools like tangle and cleave
+  ./clean top-level  # preserve subsidiary tools like tangle and cleave
   ./$BUILD --until $f || exit 1
   # valgrind requires Linux
   valgrind --leak-check=yes --num-callers=40 -q --error-exitcode=1 ./mu_bin test || exit 1