aboutsummaryrefslogtreecommitdiff
path: root/ci/common
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-06-17 20:55:02 +0200
committerGitHub <noreply@github.com>2019-06-17 20:55:02 +0200
commit5edced0a8615f55fb6185a87465595f3cb86b62b (patch)
tree55821950ff6784220a24bcac7435bd41b3b841a2 /ci/common
parentd32b92e2651abcb541f7cedceb2488bc411ea1ca (diff)
parentbd3242a70f19da6f4cd18b5889fdede9659ce932 (diff)
downloadrneovim-5edced0a8615f55fb6185a87465595f3cb86b62b.tar.gz
rneovim-5edced0a8615f55fb6185a87465595f3cb86b62b.tar.bz2
rneovim-5edced0a8615f55fb6185a87465595f3cb86b62b.zip
Merge pull request #10186 from blueyed/fix-cd
ci: minor improvements
Diffstat (limited to 'ci/common')
-rw-r--r--ci/common/test.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/ci/common/test.sh b/ci/common/test.sh
index 18b5639885..0912c3965f 100644
--- a/ci/common/test.sh
+++ b/ci/common/test.sh
@@ -32,11 +32,12 @@ check_core_dumps() {
shift
fi
local app="${1:-${BUILD_DIR}/bin/nvim}"
+ local cores
if test "${TRAVIS_OS_NAME}" = osx ; then
- local cores="$(find /cores/ -type f -print)"
+ cores="$(find /cores/ -type f -print)"
local _sudo='sudo'
else
- local cores="$(find ./ -type f -name 'core.*' -print)"
+ cores="$(find ./ -type f -name 'core.*' -print)"
local _sudo=
fi
@@ -94,7 +95,7 @@ run_unittests() {(
fail 'unittests' F 'Unit tests failed'
fi
submit_coverage unittest
- check_core_dumps "$(which luajit)"
+ check_core_dumps "$(command -v luajit)"
exit_suite
)}