5899
This commit is contained in:
parent
622f1be099
commit
ab837e8f6c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue