diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-07-17 00:23:07 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-07-17 00:29:52 -0700 |
commit | 4d37fb52137ac795eeb1214c5b607b1e257721f0 (patch) | |
tree | 2de41d68036a6c2f24f3db5bb984dbe9decc7eec /subx/test_apps | |
parent | c2a74205d690862d4df31682aa5bbe992227fda1 (diff) | |
download | mu-4d37fb52137ac795eeb1214c5b607b1e257721f0.tar.gz |
5409
Bugfix eleven: segment flags were incorrectly computed. examples/ex1 now verified! Added to CI.
Diffstat (limited to 'subx/test_apps')
-rwxr-xr-x | subx/test_apps | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/subx/test_apps b/subx/test_apps index 10b6869b..068712a7 100755 --- a/subx/test_apps +++ b/subx/test_apps @@ -10,6 +10,8 @@ test `uname` = 'Linux' && echo 'testing native runs as well' CFLAGS=$CFLAGS ./build +echo "== translating and running using C++" + echo ex1 ./subx translate examples/ex1.subx -o examples/ex1 [ "$1" != record ] && git diff --exit-code examples/ex1 @@ -224,4 +226,12 @@ test `uname` = 'Linux' && { echo } +echo "== translating using SubX" + +echo ex1 +cat examples/ex1.subx |subx_bin run apps/dquotes |subx_bin run apps/assort |subx_bin run apps/pack |subx_bin run apps/survey |subx_bin run apps/hex |diff examples/ex1 - +test `uname` = 'Linux' && { + cat examples/ex1.subx |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff examples/ex1 - +} + exit 0 |