mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
Merge pull request #13287 from jamessan/github-actions
This commit is contained in:
@@ -617,14 +617,14 @@ if(CLANG_ASAN_UBSAN)
|
||||
message(STATUS "Enabling Clang address sanitizer and undefined behavior sanitizer for nvim.")
|
||||
check_c_compiler_flag(-fno-sanitize-recover=all SANITIZE_RECOVER_ALL)
|
||||
if(SANITIZE_RECOVER_ALL)
|
||||
if(TRAVIS_CI_BUILD)
|
||||
if(CI_BUILD)
|
||||
# Try to recover from all sanitize issues so we get reports about all failures
|
||||
set(SANITIZE_RECOVER -fsanitize-recover=all) # Clang 3.6+
|
||||
else()
|
||||
set(SANITIZE_RECOVER -fno-sanitize-recover=all) # Clang 3.6+
|
||||
endif()
|
||||
else()
|
||||
if(TRAVIS_CI_BUILD)
|
||||
if(CI_BUILD)
|
||||
# Try to recover from all sanitize issues so we get reports about all failures
|
||||
set(SANITIZE_RECOVER -fsanitize-recover) # Clang 3.5-
|
||||
else()
|
||||
|
@@ -66,7 +66,7 @@ main() {(
|
||||
fi
|
||||
fi
|
||||
if test "$FAILED" = 1 ; then
|
||||
travis_fold start "$NVIM_TEST_CURRENT_SUITE/$test_name"
|
||||
ci_fold start "$NVIM_TEST_CURRENT_SUITE/$test_name"
|
||||
fi
|
||||
valgrind_check .
|
||||
if test -n "$LOG_DIR" ; then
|
||||
@@ -78,7 +78,7 @@ main() {(
|
||||
fi
|
||||
rm -f "$tlog"
|
||||
if test "$FAILED" = 1 ; then
|
||||
travis_fold end "$NVIM_TEST_CURRENT_SUITE/$test_name"
|
||||
ci_fold end "$NVIM_TEST_CURRENT_SUITE/$test_name"
|
||||
fi
|
||||
if test "$FAILED" = 1 ; then
|
||||
echo "Test $test_name failed, see output above and summary for more details" >> test.log
|
||||
|
Reference in New Issue
Block a user