about summary refs log tree commit diff stats
path: root/tools/treeshake_all
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-19 17:52:25 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-19 17:52:25 -0800
commitab837e8f6c701eec9bf86e1e4d506c08e02cad6c (patch)
tree57e0f5fa96446288bc4ea30f336cf018fbc1aab9 /tools/treeshake_all
parent622f1be099f434f89819876d1931f80c1a3e47e7 (diff)
downloadmu-ab837e8f6c701eec9bf86e1e4d506c08e02cad6c.tar.gz
5899
Diffstat (limited to 'tools/treeshake_all')
-rwxr-xr-xtools/treeshake_all13
1 files changed, 10 insertions, 3 deletions
diff --git a/tools/treeshake_all b/tools/treeshake_all
index 614b106a..58efcf1a 100755
--- a/tools/treeshake_all
+++ b/tools/treeshake_all
@@ -28,11 +28,18 @@ echo "== testing treeshaken binaries"
 for app in factorial crenshaw2-1 crenshaw2-1b
 do
   echo $app
-  tools/test_treeshake_translate init.$OS 0*.subx apps/$app.subx
+  tools/test_treeshake_translate init.$OS 0[0-8]*.subx apps/$app.subx
   diff apps/$app a.elf
 done
 
-for app in hex survey pack assort dquotes tests sigils calls braces
+for app in hex survey pack assort dquotes tests
+do
+  echo $app
+  tools/test_treeshake_translate init.$OS 0[0-8]*.subx apps/subx-params.subx apps/$app.subx
+  diff apps/$app a.elf
+done
+
+for app in sigils calls braces
 do
   echo $app
   tools/test_treeshake_translate init.$OS 0*.subx apps/subx-params.subx apps/$app.subx
@@ -40,5 +47,5 @@ do
 done
 
 echo mu.subx
-tools/test_treeshake_translate init.$OS 0*.subx apps/mu.subx
+tools/test_treeshake_translate init.$OS [0-9]*.subx apps/mu.subx
 diff apps/mu a.elf