Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/builds/build-diff.sh
#!/usr/bin/env bash | #!/usr/bin/env bash | ||||
export LC_ALL=C.UTF-8 | export LC_ALL=C.UTF-8 | ||||
set -euxo pipefail | set -euxo pipefail | ||||
# shellcheck source=../ci-fixture.sh | # shellcheck source=../ci-fixture.sh | ||||
source "${TOPLEVEL}/contrib/teamcity/ci-fixture.sh" | source "${TOPLEVEL}/contrib/teamcity/ci-fixture.sh" | ||||
# Build, run unit tests and functional tests. | # Build, run unit tests and functional tests. | ||||
build_with_cmake --Werror | build_with_cmake --Werror --junit | ||||
# Unit tests | |||||
run_test_bitcoin | |||||
run_test_bitcoin "with next upgrade activated" -axionactivationtime=1575158400 | |||||
# Libs and tools tests | # Libs and tools tests | ||||
# The leveldb tests need to run alone or they will sometimes fail with | # The leveldb tests need to run alone or they will sometimes fail with | ||||
# garbage output, see: | # garbage output, see: | ||||
# https://build.bitcoinabc.org/viewLog.html?buildId=29713&guest=1 | # https://build.bitcoinabc.org/viewLog.html?buildId=29713&guest=1 | ||||
ninja check-leveldb | ninja check-leveldb | ||||
ninja check check-secp256k1 check-univalue | |||||
# Functional tests | ninja -k0 \ | ||||
ninja check-functional | check \ | ||||
ninja check-functional-upgrade-activated | check-secp256k1 \ | ||||
check-univalue \ | |||||
check-functional \ | |||||
check-upgrade-activated |