From 51a20da6b30f4afe0405d13bf862b5d72ccefa6d Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 24 Jul 2019 18:37:42 -0700 Subject: 5467 Fix CI by disabling non-native runs that run out of memory. --- subx/test_apps | 45 ++++++++++++++------------------------------- 1 file changed, 14 insertions(+), 31 deletions(-) (limited to 'subx') diff --git a/subx/test_apps b/subx/test_apps index 2f7fd9d6..af3937d5 100755 --- a/subx/test_apps +++ b/subx/test_apps @@ -298,44 +298,27 @@ test `uname` = 'Linux' && { cat examples/ex10.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff examples/ex10 - } -# native run only because emulated run times out on travis-ci.org -test `uname` = 'Linux' && { - echo ex11 - cat examples/ex11.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff examples/ex11 - -} +# SubX translator phases only run natively. Emulated run times out on travis-ci.org. +test `uname` = 'Linux' || exit 0 -# native run only because emulated run times out on travis-ci.org -test `uname` = 'Linux' && { - echo ex12 - cat examples/ex12.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff examples/ex12 - -} +echo ex11 +cat examples/ex11.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff examples/ex11 - -echo factorial -cat 0*.subx apps/factorial.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 apps/factorial - -test `uname` = 'Linux' && { - cat 0*.subx apps/factorial.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/factorial - -} +echo ex12 +cat examples/ex12.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff examples/ex12 - -echo crenshaw2-1 -cat 0*.subx apps/crenshaw2-1.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 apps/crenshaw2-1 - -test `uname` = 'Linux' && { - cat 0*.subx apps/crenshaw2-1.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/crenshaw2-1 - -} +# Larger apps that use the standard library. +echo factorial +cat 0*.subx apps/factorial.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/factorial - +echo crenshaw2-1 +cat 0*.subx apps/crenshaw2-1.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/crenshaw2-1 - echo crenshaw2-1b -cat 0*.subx apps/crenshaw2-1b.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 apps/crenshaw2-1b - -test `uname` = 'Linux' && { - cat 0*.subx apps/crenshaw2-1b.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/crenshaw2-1b - -} - +cat 0*.subx apps/crenshaw2-1b.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/crenshaw2-1b - echo handle -cat 0*.subx apps/handle.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 apps/handle - -test `uname` = 'Linux' && { - cat 0*.subx apps/handle.subx |apps/tests |apps/dquotes |apps/assort |apps/pack |apps/survey |apps/hex |diff apps/handle - -} +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 +# Phases of the self-hosted SubX translator. 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 - -- cgit 1.4.1-2-gfad0