Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build.sh
Show All 30 Lines | |||||
fi | fi | ||||
../configure "${CONFIGURE_FLAGS[@]}" | ../configure "${CONFIGURE_FLAGS[@]}" | ||||
# Run build | # Run build | ||||
make -j ${THREADS} | make -j ${THREADS} | ||||
# Run unit tests | # Run unit tests | ||||
make check | make -j ${THREADS} check | ||||
# Run util tests | |||||
./test/util/bitcoin-util-test.py | |||||
mkdir -p output/ | mkdir -p output/ | ||||
BRANCH=$(git rev-parse --abbrev-ref HEAD) | BRANCH=$(git rev-parse --abbrev-ref HEAD) | ||||
if [[ ! -z "${DISABLE_WALLET}" ]]; then | if [[ ! -z "${DISABLE_WALLET}" ]]; then | ||||
echo "Skipping rpc testing due to disabled wallet functionality." | echo "Skipping rpc testing due to disabled wallet functionality." | ||||
elif [[ "${BRANCH}" == "master" ]]; then | elif [[ "${BRANCH}" == "master" ]]; then | ||||
./test/functional/test_runner.py --cutoff=600 --tmpdirprefix=output | ./test/functional/test_runner.py --cutoff=600 --tmpdirprefix=output | ||||
./test/functional/test_runner.py --cutoff=600 --tmpdirprefix=output --with-greatwallactivation | ./test/functional/test_runner.py --cutoff=600 --tmpdirprefix=output --with-greatwallactivation | ||||
else | else | ||||
./test/functional/test_runner.py --tmpdirprefix=output | ./test/functional/test_runner.py --tmpdirprefix=output | ||||
./test/functional/test_runner.py --tmpdirprefix=output --with-greatwallactivation | ./test/functional/test_runner.py --tmpdirprefix=output --with-greatwallactivation | ||||
fi | fi | ||||