#8672 adjust gradle to use plain output on CI

Fixes #8678
This commit is contained in:
Armin 2017-11-15 10:11:02 +01:00 committed by Armin Braun
parent 75b360f2ff
commit 86cbb275b3
2 changed files with 7 additions and 7 deletions

View file

@ -24,10 +24,10 @@ elif [[ $1 == "split" ]]; then
cd ../.. cd ../..
if [[ $2 == 0 ]]; then if [[ $2 == 0 ]]; then
echo "Running the first half of integration specs: $specs0" echo "Running the first half of integration specs: $specs0"
./gradlew runIntegrationTests -PrubyIntegrationSpecs="$specs0" ./gradlew runIntegrationTests -PrubyIntegrationSpecs="$specs0" --console=plain
elif [[ $2 == 1 ]]; then elif [[ $2 == 1 ]]; then
echo "Running the second half of integration specs: $specs1" echo "Running the second half of integration specs: $specs1"
./gradlew runIntegrationTests -PrubyIntegrationSpecs="$specs1" ./gradlew runIntegrationTests -PrubyIntegrationSpecs="$specs1" --console=plain
else else
echo "Error, must specify 0 or 1 after the split. For example ci/integration_tests.sh split 0" echo "Error, must specify 0 or 1 after the split. For example ci/integration_tests.sh split 0"
exit 1 exit 1
@ -35,9 +35,9 @@ elif [[ $1 == "split" ]]; then
elif [[ ! -z $@ ]]; then elif [[ ! -z $@ ]]; then
echo "Running integration tests 'rspec $@'" echo "Running integration tests 'rspec $@'"
./gradlew runIntegrationTests -PrubyIntegrationSpecs="$@" ./gradlew runIntegrationTests -PrubyIntegrationSpecs="$@" --console=plain
else else
echo "Running all integration tests" echo "Running all integration tests"
./gradlew runIntegrationTests ./gradlew runIntegrationTests --console=plain
fi fi

View file

@ -19,11 +19,11 @@ if [[ $SELECTED_TEST_SUITE == $"core-fail-fast" ]]; then
rake test:core-fail-fast rake test:core-fail-fast
elif [[ $SELECTED_TEST_SUITE == $"java" ]]; then elif [[ $SELECTED_TEST_SUITE == $"java" ]]; then
echo "Running Java Tests" echo "Running Java Tests"
./gradlew javaTests ./gradlew javaTests --console=plain
elif [[ $SELECTED_TEST_SUITE == $"ruby" ]]; then elif [[ $SELECTED_TEST_SUITE == $"ruby" ]]; then
echo "Running Ruby unit tests" echo "Running Ruby unit tests"
./gradlew rubyTests ./gradlew rubyTests --console=plain
else else
echo "Running Java and Ruby unit tests" echo "Running Java and Ruby unit tests"
./gradlew test ./gradlew test --console=plain
fi fi