2015-07-05 00:52:36 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
source "${CI_DIR}/common/build.sh"
|
|
|
|
source "${CI_DIR}/common/test.sh"
|
2017-03-31 06:02:53 -07:00
|
|
|
source "${CI_DIR}/common/suite.sh"
|
|
|
|
|
2017-04-30 20:45:24 -07:00
|
|
|
enter_suite build
|
2015-07-05 00:52:36 -07:00
|
|
|
|
2016-11-04 08:20:58 -07:00
|
|
|
check_core_dumps --delete quiet
|
|
|
|
|
2016-09-10 12:48:45 -07:00
|
|
|
prepare_build
|
2015-07-05 00:52:36 -07:00
|
|
|
build_nvim
|
|
|
|
|
2017-04-30 20:45:24 -07:00
|
|
|
exit_suite --continue
|
|
|
|
|
|
|
|
enter_suite tests
|
|
|
|
|
|
|
|
if test "$CLANG_SANITIZER" != "TSAN" ; then
|
2015-08-28 08:29:15 -07:00
|
|
|
# Additional threads are only created when the builtin UI starts, which
|
|
|
|
# doesn't happen in the unit/functional tests
|
2018-02-01 11:27:51 -07:00
|
|
|
if test "${FUNCTIONALTEST}" != "functionaltest-lua"; then
|
|
|
|
run_test run_unittests
|
|
|
|
fi
|
2017-03-31 06:02:53 -07:00
|
|
|
run_test run_functionaltests
|
2015-08-28 08:29:15 -07:00
|
|
|
fi
|
2017-03-31 06:02:53 -07:00
|
|
|
run_test run_oldtests
|
|
|
|
|
|
|
|
run_test install_nvim
|
2015-07-05 00:52:36 -07:00
|
|
|
|
2017-04-30 20:45:24 -07:00
|
|
|
exit_suite --continue
|
|
|
|
|
2017-04-04 10:15:30 -07:00
|
|
|
end_tests
|