mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Merge #18562: ci: Run unit tests sequential once
fa7af33b4cb12315de86315c163393bdb50fad75 ci: Run unit tests sequential once (MarcoFalke) fa68a3e7640fc00c47f03fa565357679bdafb4b2 appveyor: Enable minimal unit test logging to aid debugging (MarcoFalke) Pull request description: Fixes #16976 Top commit has no ACKs. Tree-SHA512: 1f1ee8776a67afa8c1c5a16ef170c9975b6a486c087c8eba12e97d23382befd1c2801622ec70ca8e4cd1fbedce1dec46be67677ceaf07f35f1d3f3bead0200f0
This commit is contained in:
parent
3ddc17a3b2
commit
85be06af39
@ -11,7 +11,7 @@ set -e
|
|||||||
|
|
||||||
source ./ci/dash/matrix.sh
|
source ./ci/dash/matrix.sh
|
||||||
|
|
||||||
if [ "$RUN_UNIT_TESTS" != "true" ]; then
|
if [ "$RUN_UNIT_TESTS" != "true" ] && [ "$RUN_UNIT_TESTS_SEQUENTIAL" != "true" ]; then
|
||||||
echo "Skipping unit tests"
|
echo "Skipping unit tests"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
@ -29,5 +29,9 @@ if [ "$DIRECT_WINE_EXEC_TESTS" = "true" ]; then
|
|||||||
# Inside Docker, binfmt isn't working so we can't trust in make invoking windows binaries correctly
|
# Inside Docker, binfmt isn't working so we can't trust in make invoking windows binaries correctly
|
||||||
wine ./src/test/test_dash.exe
|
wine ./src/test/test_dash.exe
|
||||||
else
|
else
|
||||||
make $MAKEJOBS check VERBOSE=1
|
if [ "$RUN_UNIT_TESTS_SEQUENTIAL" = "true" ]; then
|
||||||
|
./src/test/test_dash --catch_system_errors=no -l test_suite
|
||||||
|
else
|
||||||
|
make $MAKEJOBS check VERBOSE=1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -11,5 +11,7 @@ export PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libhar
|
|||||||
export DEP_OPTS="NO_UPNP=1 DEBUG=1"
|
export DEP_OPTS="NO_UPNP=1 DEBUG=1"
|
||||||
# TODO: we have few rpcs that aren't covered by any test, re-enable the line below once it's fixed
|
# TODO: we have few rpcs that aren't covered by any test, re-enable the line below once it's fixed
|
||||||
# export TEST_RUNNER_EXTRA="--coverage --extended --exclude feature_pruning,feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
|
# export TEST_RUNNER_EXTRA="--coverage --extended --exclude feature_pruning,feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
|
||||||
|
export RUN_UNIT_TESTS_SEQUENTIAL="true"
|
||||||
|
export RUN_UNIT_TESTS="false"
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-zmq --enable-reduce-exports LDFLAGS=-static-libstdc++"
|
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-zmq --enable-reduce-exports LDFLAGS=-static-libstdc++"
|
||||||
|
Loading…
Reference in New Issue
Block a user