diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-04-10 15:07:24 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-05-18 00:44:46 -0700 |
commit | 5dc0ddfc9d1603ca9ee7a1d964e511113c93bc99 (patch) | |
tree | 99c92fc384ecbf55ccf6599ba7d7c9e71f80baaa /test_apps | |
parent | 86931f5e062d75cc978d9268147c569cc735467b (diff) | |
download | mu-5dc0ddfc9d1603ca9ee7a1d964e511113c93bc99.tar.gz |
Rebuild phases of self-hosted SubX translator
For this one commit we need to bootstrap ourselves with subx_translate_debug.
Diffstat (limited to 'test_apps')
-rwxr-xr-x | test_apps | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/test_apps b/test_apps index 3cd0e9c7..a19bad7c 100755 --- a/test_apps +++ b/test_apps @@ -223,7 +223,7 @@ test $NATIVE && { # Phases of the self-hosted SubX translator. -for phase in hex pack assort dquotes tests # survey +for phase in hex survey pack assort dquotes tests do echo $phase ./bootstrap translate init.$OS 0[0-8]*.subx apps/subx-params.subx apps/$phase.subx -o apps/$phase @@ -295,28 +295,28 @@ done #? apps/mu test #? echo #? } -#? -#? test $NATIVE || exit 0 -#? echo "== translating using SubX (native only)" -#? -#? # example programs -#? -#? for n in `seq 1 12` -#? do -#? echo ex$n -#? ./translate_subx init.$OS apps/ex$n.subx -#? diff apps/ex$n a.elf -#? done -#? -#? # Larger apps that use the standard library. -#? -#? for app in factorial crenshaw2-1 crenshaw2-1b -#? do -#? echo $app -#? ./translate_subx init.$OS 0[0-8]*.subx apps/$app.subx -#? diff apps/$app a.elf -#? done -#? + +test $NATIVE || exit 0 +echo "== translating using SubX (native only)" + +# example programs + +for n in `seq 1 12` +do + echo ex$n + ./translate_subx_debug init.$OS apps/ex$n.subx + diff apps/ex$n a.elf +done + +# Larger apps that use the standard library. + +for app in factorial crenshaw2-1 crenshaw2-1b +do + echo $app + ./translate_subx_debug init.$OS 0[0-8]*.subx apps/$app.subx + diff apps/$app a.elf +done + #? # Phases of the self-hosted SubX translator. #? #? for app in hex survey pack assort dquotes tests |