about summary refs log tree commit diff stats
path: root/test_apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-04-03 20:13:27 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-18 00:44:46 -0700
commit94fca7058a2e2bd62393758fbb98cd3f8ace4b2a (patch)
treeb4a6b2f69ca0ae12103857d95c4748ec9c13c0e2 /test_apps
parentd538b29302b6b9e01c83c16bbe355615a204c95e (diff)
downloadmu-94fca7058a2e2bd62393758fbb98cd3f8ace4b2a.tar.gz
tests.subx now working
Diffstat (limited to 'test_apps')
-rwxr-xr-xtest_apps68
1 files changed, 34 insertions, 34 deletions
diff --git a/test_apps b/test_apps
index d1c516c3..4e1f5896 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  # survey assort dquotes tests
+for phase in hex pack tests  # survey assort dquotes
 do
   echo $phase
   ./bootstrap translate init.$OS 0[0-8]*.subx apps/subx-params.subx apps/$phase.subx -o apps/$phase
@@ -295,45 +295,45 @@ 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
-
-# Phases of the self-hosted SubX translator.
-
-for app in hex pack  # survey assort dquotes tests
-do
-  echo $app
-  ./translate_subx init.$OS 0[0-8]*.subx apps/subx-params.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 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
+#? 
+#? # Phases of the self-hosted SubX translator.
+#? 
+#? for app in hex survey pack assort dquotes tests
+#? do
+#?   echo $app
+#?   ./translate_subx 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
 #?   ./translate_subx init.$OS 0*.subx apps/subx-params.subx apps/$app.subx
 #?   diff apps/$app a.elf
 #? done
-
-# Mu translator
+#? 
+#? # Mu translator
 #? echo mu
 #? ./translate_subx init.$OS [0-9]*.subx apps/mu.subx
 #? diff apps/mu a.elf