From 099f0d5d550798da5cf6430666aacc6e6ac8c64b Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 6 Sep 2019 17:45:44 -0700 Subject: 5631 - syntax for calls starting to work! Now added to CI. --- test_apps | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'test_apps') 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 -- cgit 1.4.1-2-gfad0