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-03-31 09:09:18 -07:00
|
|
|
set -x
|
|
|
|
|
2017-03-31 06:02:53 -07:00
|
|
|
enter_suite tests
|
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
|
|
|
|
|
2015-08-28 08:29:15 -07:00
|
|
|
if [ "$CLANG_SANITIZER" != "TSAN" ]; then
|
|
|
|
# Additional threads are only created when the builtin UI starts, which
|
|
|
|
# doesn't happen in the unit/functional tests
|
2017-03-31 06:02:53 -07:00
|
|
|
run_test run_unittests
|
|
|
|
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-04 10:15:30 -07:00
|
|
|
end_tests
|