about summary refs log tree commit diff stats
path: root/test_apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-09-06 17:45:44 -0700
committerKartik Agaram <vc@akkartik.com>2019-09-06 17:58:53 -0700
commit099f0d5d550798da5cf6430666aacc6e6ac8c64b (patch)
treea548e38a5ea6b408aa7d1702ba1c4b2384be045a /test_apps
parente836615a605f4c86b0d56b1a90779d8b7457bdba (diff)
downloadmu-099f0d5d550798da5cf6430666aacc6e6ac8c64b.tar.gz
5631 - syntax for calls starting to work!
Now added to CI.
Diffstat (limited to 'test_apps')
-rwxr-xr-xtest_apps13
1 files changed, 12 insertions, 1 deletions
diff --git a/test_apps b/test_apps
index 3cc3de79..b5659aef 100755
--- a/test_apps
+++ b/test_apps
@@ -311,6 +311,17 @@ test `uname` = 'Linux'  &&  {
 test $EMULATED  &&  echo "skipping remaining runs in emulated mode"
 test $NATIVE  ||  exit 0
 
+echo calls
+cat 0*.subx apps/subx-common.subx apps/calls.subx  |  apps/sigils  > a.sigils
+./subx translate a.sigils -o apps/calls
+[ "$1" != record ]  &&  git diff --exit-code apps/calls
+./subx run apps/calls test
+echo
+test `uname` = 'Linux'  &&  {
+  apps/calls test
+  echo
+}
+
 echo "== translating using SubX"
 
 # example programs
@@ -333,7 +344,7 @@ done
 
 # Phases of the self-hosted SubX translator.
 
-for app in hex survey pack assort dquotes tests sigils
+for app in hex survey pack assort dquotes tests sigils calls
 do
   echo $app
   ./ntranslate 0*.subx apps/subx-common.subx apps/$app.subx