diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-07-24 16:54:18 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-07-24 16:54:18 -0700 |
commit | 29ec821cf77bf64d0cb9de0db1a54f032bbf2d94 (patch) | |
tree | 7493273da198614274d6cec436195af025077896 | |
parent | 04a5722edc1d5c171a625e4b871b44d8ae4bda24 (diff) | |
download | mu-29ec821cf77bf64d0cb9de0db1a54f032bbf2d94.tar.gz |
5465
Include phases of self-hosted SubX translator in CI.
-rwxr-xr-x | subx/test_apps | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/subx/test_apps b/subx/test_apps index 59a146a2..2f7fd9d6 100755 --- a/subx/test_apps +++ b/subx/test_apps @@ -299,16 +299,12 @@ test `uname` = 'Linux' && { } # native run only because emulated run times out on travis-ci.org -#echo ex11 -#cat examples/ex11.subx |./subx_bin run apps/tests |./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/ex11 - test `uname` = 'Linux' && { echo ex11 cat examples/ex11.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff examples/ex11 - } # native run only because emulated run times out on travis-ci.org -#echo ex12 -#cat examples/ex12.subx |./subx_bin run apps/tests |./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/ex12 - test `uname` = 'Linux' && { echo ex12 cat examples/ex12.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff examples/ex12 - @@ -338,4 +334,20 @@ test `uname` = 'Linux' && { cat 0*.subx apps/handle.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/handle - } +# SubX translator phases only run natively. Emulated run times out on travis-ci.org. +test `uname` = 'Linux' || exit 0 + +echo hex +cat 0*.subx apps/subx-common.subx apps/hex.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/hex - +echo survey +cat 0*.subx apps/subx-common.subx apps/survey.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/survey - +echo pack +cat 0*.subx apps/subx-common.subx apps/pack.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/pack - +echo assort +cat 0*.subx apps/subx-common.subx apps/assort.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/assort - +echo dquotes +cat 0*.subx apps/subx-common.subx apps/dquotes.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/dquotes - +echo tests +cat 0*.subx apps/subx-common.subx apps/tests.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/tests - + exit 0 |