Commit fa7af33 MarcoFalke
committed
1 parent fa68a3e commit fa7af33 Copy full SHA for fa7af33
File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ export CONTAINER_NAME=ci_native_qt5
10
10
export PACKAGES=" python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libharfbuzz-dev"
11
11
export DEP_OPTS=" NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1"
12
12
export TEST_RUNNER_EXTRA=" --coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
13
+ export RUN_UNIT_TESTS_SEQUENTIAL=" true"
14
+ export RUN_UNIT_TESTS=" false"
13
15
export GOAL=" install"
14
16
export TEST_PREVIOUS_RELEASES=true
15
17
export BITCOIN_CONFIG=" --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CFLAGS=\" -g0 -O2 -funsigned-char\" CXXFLAGS=\" -g0 -O2 -funsigned-char\" "
Original file line number Diff line number Diff line change @@ -21,13 +21,20 @@ if [ -n "$USE_VALGRIND" ]; then
21
21
END_FOLD
22
22
fi
23
23
24
+ bash -c " ${CI_WAIT} " & # Print dots in case the tests take a long time to run
25
+
24
26
if [ " $RUN_UNIT_TESTS " = " true" ]; then
25
27
BEGIN_FOLD unit-tests
26
- bash -c " ${CI_WAIT} " & # Print dots in case the unit tests take a long time to run
27
28
DOCKER_EXEC LD_LIBRARY_PATH=$DEPENDS_DIR /$HOST /lib make $MAKEJOBS check VERBOSE=1
28
29
END_FOLD
29
30
fi
30
31
32
+ if [ " $RUN_UNIT_TESTS_SEQUENTIAL " = " true" ]; then
33
+ BEGIN_FOLD unit-tests-seq
34
+ DOCKER_EXEC LD_LIBRARY_PATH=$DEPENDS_DIR /$HOST /lib " ${BASE_ROOT_DIR} /build/bitcoin-*/src/test/test_bitcoin" --catch_system_errors=no -l test_suite
35
+ END_FOLD
36
+ fi
37
+
31
38
if [ " $RUN_FUNCTIONAL_TESTS " = " true" ]; then
32
39
BEGIN_FOLD functional-tests
33
40
DOCKER_EXEC test/functional/test_runner.py --ci $MAKEJOBS --tmpdirprefix " ${BASE_SCRATCH_DIR} /test_runner/" --ansi --combinedlogslen=4000 ${TEST_RUNNER_EXTRA} --quiet --failfast
You can’t perform that action at this time.
0 commit comments