diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/treeshake_all | 13 | ||||
-rwxr-xr-x | tools/treeshake_translate | 2 |
2 files changed, 11 insertions, 4 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 diff --git a/tools/treeshake_translate b/tools/treeshake_translate index ba80dea0..36fcf7c6 100755 --- a/tools/treeshake_translate +++ b/tools/treeshake_translate @@ -5,4 +5,4 @@ set -e grep -vh '^\s*#\|^\s*$' $* > a.in cat a.in |tools/treeshake > a.treeshake -./ntranslate a.treeshake +./translate_subx a.treeshake |