Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/builds/build-tsan.sh
- This file was added.
Property | Old Value | New Value |
---|---|---|
File Mode | null | 100755 |
#!/usr/bin/env bash | |||||
export LC_ALL=C.UTF-8 | |||||
set -euxo pipefail | |||||
# shellcheck source=../ci-fixture.sh | |||||
source "${TOPLEVEL}/contrib/teamcity/ci-fixture.sh" | |||||
# Build with the thread sanitizer, then run unit tests and functional tests. | |||||
CMAKE_FLAGS=( | |||||
"-DENABLE_SANITIZERS=thread" | |||||
) | |||||
build_with_cmake --Werror --clang | |||||
run_test_bitcoin "with thread sanitizer" | |||||
# Libs and utils tests | |||||
ninja \ | |||||
check-bitcoin-qt \ | |||||
check-bitcoin-seeder \ | |||||
check-bitcoin-util \ | |||||
ninja check-functional |