Fix up code to clean test subdirs.
authorChris Hanson <org/chris-hanson/cph>
Wed, 24 Oct 2018 21:03:55 +0000 (14:03 -0700)
committerChris Hanson <org/chris-hanson/cph>
Wed, 24 Oct 2018 21:03:55 +0000 (14:03 -0700)
tests/Clean.sh

index 6d483fd1a5ad1a6494d19234210116c5c1e0a5cf..f79a9c514bb4273b6cd37f8d53b0b7a53e09754f 100755 (executable)
@@ -10,6 +10,9 @@ COMMAND=${1}
 
 TOPDIR=../src ../src/etc/Clean.sh ${COMMAND}
 
-for SUBDIR in ffi microcode runtime sos star-parser xml; do
-    ( cd $SUBDIR; TOPDIR=../../src ../../src/etc/Clean.sh ${COMMAND} )
+for SUBDIR in microcode runtime sos star-parser xml; do
+    echo "Cleaning in ${SUBDIR}"
+    (cd ${SUBDIR} && TOPDIR=../../src ../../src/etc/Clean.sh ${COMMAND})
 done
+    echo "Cleaning in ffi"
+(cd ffi && make ${COMMAND})