about summary refs log tree commit diff stats
path: root/test_apps
diff options
context:
space:
mode:
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