run_tests.sh 696 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #!/usr/bin/env bash
  2. set -e
  3. set -o pipefail
  4. CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  5. source "${CI_DIR}/common/build.sh"
  6. source "${CI_DIR}/common/test.sh"
  7. source "${CI_DIR}/common/suite.sh"
  8. enter_suite build
  9. check_core_dumps --delete quiet
  10. prepare_build
  11. build_nvim
  12. exit_suite --continue
  13. enter_suite tests
  14. if test "$CLANG_SANITIZER" != "TSAN" ; then
  15. # Additional threads are only created when the builtin UI starts, which
  16. # doesn't happen in the unit/functional tests
  17. if test "${FUNCTIONALTEST}" != "functionaltest-lua"; then
  18. run_test run_unittests
  19. fi
  20. run_test run_functionaltests
  21. fi
  22. run_test run_oldtests
  23. run_test install_nvim
  24. exit_suite --continue
  25. end_tests