mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55: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() {
|
||||
${MAKE_CMD} -C "${BUILD_DIR}" unittest
|
||||
${MAKE_CMD} unittest
|
||||
}
|
||||
|
||||
run_functionaltests() {
|
||||
if ! ${MAKE_CMD} -C "${BUILD_DIR}" ${FUNCTIONALTEST}; then
|
||||
if ! ${MAKE_CMD} ${FUNCTIONALTEST}; then
|
||||
asan_check "${LOG_DIR}"
|
||||
valgrind_check "${LOG_DIR}"
|
||||
exit 1
|
||||
@ -63,7 +63,7 @@ run_functionaltests() {
|
||||
}
|
||||
|
||||
run_oldtests() {
|
||||
if ! make -C "${TRAVIS_BUILD_DIR}/src/nvim/testdir"; then
|
||||
if ! make oldtest; then
|
||||
reset
|
||||
asan_check "${LOG_DIR}"
|
||||
valgrind_check "${LOG_DIR}"
|
||||
|
Loading…
Reference in New Issue
Block a user