diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-19 17:52:25 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-19 17:52:25 -0800 |
commit | ab837e8f6c701eec9bf86e1e4d506c08e02cad6c (patch) | |
tree | 57e0f5fa96446288bc4ea30f336cf018fbc1aab9 /tools | |
parent | 622f1be099f434f89819876d1931f80c1a3e47e7 (diff) | |
download | mu-ab837e8f6c701eec9bf86e1e4d506c08e02cad6c.tar.gz |
5899
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 |