aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-01-11 21:36:26 +0800
committerGitHub <noreply@github.com>2023-01-11 14:36:26 +0100
commit3d49d39cd8a322b201d0b72ff5372f871e1b93d2 (patch)
tree2a7010e6c3568951cc7b24cc3772ac2586a714f6 /ci
parent80a02d1cef9bd4880e5952d3d0328dac5c7457ad (diff)
downloadrneovim-3d49d39cd8a322b201d0b72ff5372f871e1b93d2.tar.gz
rneovim-3d49d39cd8a322b201d0b72ff5372f871e1b93d2.tar.bz2
rneovim-3d49d39cd8a322b201d0b72ff5372f871e1b93d2.zip
ci(tsan): run functionaltests instead of oldtests (#21744)
With TUI as an external process oldtests no longer involve threads, so TSAN isn't useful. Meanwhile functionaltests may involve threads.
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
index 20d758fd6d..0ef7080628 100755
--- a/ci/run_tests.sh
+++ b/ci/run_tests.sh
@@ -17,16 +17,15 @@ rm -f "$END_MARKER"
if (($# == 0)); then
tests=('build_nvim')
+ # Additional threads aren't created in the unit/old tests
if test "$CLANG_SANITIZER" != "TSAN"; then
- # Additional threads are only created when the builtin UI starts, which
- # doesn't happen in the unit/functional tests
if test "${FUNCTIONALTEST}" != "functionaltest-lua"; then
tests+=('unittests')
fi
- tests+=('functionaltests')
+ tests+=('oldtests')
fi
- tests+=('oldtests' 'install_nvim')
+ tests+=('functionaltests' 'install_nvim')
else
tests=("$@")
fi