Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build.sh
Show All 32 Lines | |||||
../configure "${CONFIGURE_FLAGS[@]}" | ../configure "${CONFIGURE_FLAGS[@]}" | ||||
make -j ${THREADS} | make -j ${THREADS} | ||||
BRANCH=$(git rev-parse --abbrev-ref HEAD) | BRANCH=$(git rev-parse --abbrev-ref HEAD) | ||||
# Run tests | # Run tests | ||||
./src/test/test_bitcoin --log_format=JUNIT > test_bitcoin.xml | ./src/test/test_bitcoin --log_format=JUNIT > test_bitcoin.xml | ||||
mkdir -p output/ | |||||
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 --extended | ./test/functional/test_runner.py --extended --tmpdirprefix=output | ||||
else | else | ||||
./test/functional/test_runner.py | ./test/functional/test_runner.py --tmpdirprefix=output | ||||
fi | fi | ||||
make install | make install |