mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
ci: test: Replace hard-coded commands with Makefile's targets
This commit is contained in:
parent
5bd65e31da
commit
ab60a73b6a
@ -49,11 +49,11 @@ asan_check() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
run_unittests() {
|
run_unittests() {
|
||||||
${MAKE_CMD} -C "${BUILD_DIR}" unittest
|
${MAKE_CMD} unittest
|
||||||
}
|
}
|
||||||
|
|
||||||
run_functionaltests() {
|
run_functionaltests() {
|
||||||
if ! ${MAKE_CMD} -C "${BUILD_DIR}" ${FUNCTIONALTEST}; then
|
if ! ${MAKE_CMD} ${FUNCTIONALTEST}; then
|
||||||
asan_check "${LOG_DIR}"
|
asan_check "${LOG_DIR}"
|
||||||
valgrind_check "${LOG_DIR}"
|
valgrind_check "${LOG_DIR}"
|
||||||
exit 1
|
exit 1
|
||||||
@ -63,7 +63,7 @@ run_functionaltests() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
run_oldtests() {
|
run_oldtests() {
|
||||||
if ! make -C "${TRAVIS_BUILD_DIR}/src/nvim/testdir"; then
|
if ! make oldtest; then
|
||||||
reset
|
reset
|
||||||
asan_check "${LOG_DIR}"
|
asan_check "${LOG_DIR}"
|
||||||
valgrind_check "${LOG_DIR}"
|
valgrind_check "${LOG_DIR}"
|
||||||
|
Loading…
Reference in New Issue
Block a user