Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.sh
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | build-asan) | ||||
make -j "${THREADS}" check | make -j "${THREADS}" check | ||||
./test/functional/test_runner.py -J=junit_results_asan.xml ${TEST_RUNNER_FLAGS} | ./test/functional/test_runner.py -J=junit_results_asan.xml ${TEST_RUNNER_FLAGS} | ||||
;; | ;; | ||||
build-ubsan) | build-ubsan) | ||||
# Build with the undefined sanitizer, then run unit tests and functional tests. | # Build with the undefined sanitizer, then run unit tests and functional tests. | ||||
CONFIGURE_FLAGS="--enable-debug --with-sanitizers=undefined --disable-ccache CC=clang CXX=clang++" "${CI_SCRIPTS_DIR}"/build.sh | CONFIGURE_FLAGS="--enable-debug --with-sanitizers=undefined --disable-ccache CC=clang CXX=clang++" "${CI_SCRIPTS_DIR}"/build.sh | ||||
make -j "${THREADS}" check | make -j "${THREADS}" check | ||||
# FIXME Remove when abc-p2p-compactblocks works with ubsan. | |||||
TEST_RUNNER_FLAGS="${TEST_RUNNER_FLAGS} --exclude=abc-p2p-compactblocks" | |||||
./test/functional/test_runner.py -J=junit_results_ubsan.xml ${TEST_RUNNER_FLAGS} | ./test/functional/test_runner.py -J=junit_results_ubsan.xml ${TEST_RUNNER_FLAGS} | ||||
;; | ;; | ||||
build-default) | build-default) | ||||
# Build, run unit tests and functional tests (with extended cutoff if this is the master branch). | # Build, run unit tests and functional tests (with extended cutoff if this is the master branch). | ||||
"${CI_SCRIPTS_DIR}"/build.sh | "${CI_SCRIPTS_DIR}"/build.sh | ||||
make -j "${THREADS}" check | make -j "${THREADS}" check | ||||
Show All 35 Lines |