diff options
author | w0rp <devw0rp@gmail.com> | 2017-12-07 20:07:45 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-12-07 20:07:45 +0000 |
commit | b6efb5649ebac9faeb1c8326482b654ef2931531 (patch) | |
tree | 54e8247adb5b61ae51a279da6e07eda2d8637acf /test/script | |
parent | 7a71186d62d1964e191dc723d8b65ab7786e0063 (diff) | |
download | ale-b6efb5649ebac9faeb1c8326482b654ef2931531.zip |
Run tests in parallel
Diffstat (limited to 'test/script')
-rwxr-xr-x | test/script/run-vader-tests | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/test/script/run-vader-tests b/test/script/run-vader-tests index d5daec29..a10b8baf 100755 --- a/test/script/run-vader-tests +++ b/test/script/run-vader-tests @@ -106,18 +106,10 @@ echo "Running tests for $vim" echo '========================================' echo -if [[ $vim =~ ^neovim ]]; then - set -o pipefail - docker run -it -e VADER_OUTPUT_FILE=/dev/stderr "${docker_flags[@]}" \ - "/vim-build/bin/$vim" -u test/vimrc \ - --headless "+Vader! $tests" | filter-vader-output | color-vader-output || exit_code=$? - set +o pipefail -else - set -o pipefail - docker run -a stderr -e VADER_OUTPUT_FILE=/dev/stderr "${docker_flags[@]}" \ - "/vim-build/bin/$vim" -u test/vimrc \ - "+Vader! $tests" 2>&1 | filter-vader-output | color-vader-output || exit_code=$? - set +o pipefail -fi +set -o pipefail +docker run -a stderr -e VADER_OUTPUT_FILE=/dev/stderr "${docker_flags[@]}" \ + "/vim-build/bin/$vim" -u test/vimrc \ + "+Vader! $tests" 2>&1 | filter-vader-output | color-vader-output || exit_code=$? +set +o pipefail exit "$exit_code" |