@@ -45,7 +45,7 @@ install:
45- case "$BUILD" in
45- case "$BUILD" in
47 stack $ARGS setup --no-terminal;
47 stack $ARGS setup --no-terminal;
48− stack $ARGS build --no-terminal --only-snapshot --test
48+ stack $ARGS build --no-terminal --only-snapshot --test --no-run-tests;
51 cabal install --jobs=2 --enable-tests --only-dependencies -ftcp . distributed-process-tests/
51 cabal install --jobs=2 --enable-tests --only-dependencies -ftcp . distributed-process-tests/
@@ -55,23 +55,21 @@ install:
56- case "$BUILD" in
56- case "$BUILD" in
58− stack $ARGS --no-terminal build --test --no-run-tests;
58+ export ARG='--test-arguments'
59− cd distributed-process-tests;
59+ export TEST_PACKAGE="distributed-process-tests:"
60− export BUILD_DIR=.stack-work/dist/x86_64-linux/Cabal-$CABALVER/build
63− cabal install --enable-tests;
62+ cabal install --jobs=2 --enable-tests -ftcp .
64− cabal install --jobs=2;
65− cd distributed-process-tests/;
63+ cd distributed-process-tests;
66 cabal configure -ftcp --enable-tests;
64 cabal configure -ftcp --enable-tests;
67 cabal build --jobs=2;
65 cabal build --jobs=2;
68− export BUILD_DIR=dist/build
66+ export ARG='--test-options'
67+ export TEST_PACKAGE=""
71− # skip intermittent tests
70+- $BUILD ${ARGS} test $ARG='--plain -t "!Flaky"' ${TEST_PACKAGE}TestCHInMemory
72−- $BUILD_DIR/TestCHInMemory/TestCHInMemory --plain -t '!Flaky'
71+- $BUILD ${ARGS} test $ARG='--plain -t "!Flaky"' ${TEST_PACKAGE}TestCHInTCP
73−- $BUILD_DIR/TestCHInTCP/TestCHInTCP --plain -t '!Flaky'
72+- $BUILD ${ARGS} test $ARG='--plain -t "!SpawnReconnect"' ${TEST_PACKAGE}TestClosure
74−- $BUILD_DIR/TestClosure/TestClosure --plain -t '!SpawnReconnect'
73+- $BUILD ${ARGS} test $ARG='--plain' ${TEST_PACKAGE}TestStats
75−- $BUILD_DIR/TestStats/TestStats --plain
74+- $BUILD ${ARGS} test $ARG='--plain' ${TEST_PACKAGE}TestMx
76−- $BUILD_DIR/TestMx/TestMx --plain
75+- $BUILD ${ARGS} test $ARG='--plain' ${TEST_PACKAGE}TestTracing
77−- $BUILD_DIR/TestTracing/TestTracing --plain