about summary refs log tree commit diff stats
path: root/test_apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-12-26 02:43:05 -0800
committerKartik Agaram <vc@akkartik.com>2019-12-26 02:43:05 -0800
commit1d7d6e2ee75c254c49d57317c0c3b42c98e0f06e (patch)
treeb0e7d99126db00bbc1897326eeadb7aac2d8d61f /test_apps
parentbf03b1d9faa126dd6379d8f5855402a9cd95da68 (diff)
downloadmu-1d7d6e2ee75c254c49d57317c0c3b42c98e0f06e.tar.gz
5829
Diffstat (limited to 'test_apps')
-rwxr-xr-xtest_apps20
1 files changed, 15 insertions, 5 deletions
diff --git a/test_apps b/test_apps
index 8ea9b562..9d32fc6b 100755
--- a/test_apps
+++ b/test_apps
@@ -283,6 +283,19 @@ test `uname` = 'Linux'  &&  {
   echo
 }
 
+echo mu
+cat init.$OS 0*.subx apps/mu.subx  |  apps/braces  |  apps/calls  |  apps/sigils  > a.sigils
+./subx translate a.sigils -o apps/mu
+[ "$1" != record ]  &&  git diff --exit-code apps/mu
+test $EMULATED  &&  {
+  ./subx run apps/mu test
+  echo
+}
+test `uname` = 'Linux'  &&  {
+  apps/mu test
+  echo
+}
+
 test $NATIVE  ||  exit 0
 echo "== translating using SubX (native only)"
 
@@ -314,11 +327,8 @@ do
 done
 
 # Mu translator
-echo mu.subx
+echo mu
 ./ntranslate init.$OS 0*.subx apps/mu.subx
-mv a.elf apps/mu
-[ "$1" != record ]  &&  git diff --exit-code apps/mu
-apps/mu test
-echo
+diff apps/mu a.elf
 
 exit 0