@@ -31,64 +31,59 @@ export GOAL="install"
31
31
export SDK_URL=${SDK_URL:- https:// bitcoincore.org/ depends-sources/ sdks}
32
32
export MAKEJOBS=" -j4"
33
33
34
- export RUN_UNITTESTS=false
35
- export RUN_INTEGRATIONTESTS=false
34
+ export RUN_UNITTESTS=true
35
+ export RUN_INTEGRATIONTESTS=true
36
36
37
37
if [ " $BUILD_TARGET " = " arm-linux" ]; then
38
38
export HOST=arm-linux-gnueabihf
39
39
export CHECK_DOC=1
40
40
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
41
41
# This could be removed once the ABI change warning does not show up by default
42
42
export BITCOIN_CONFIG=" --enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi"
43
+ export RUN_UNITTESTS=false
44
+ export RUN_INTEGRATIONTESTS=false
43
45
elif [ " $BUILD_TARGET " = " win32" ]; then
44
46
export HOST=i686-w64-mingw32
45
47
export DPKG_ADD_ARCH=" i386"
46
48
export BITCOIN_CONFIG=" --enable-gui --enable-reduce-exports --disable-miner"
47
49
export DIRECT_WINE_EXEC_TESTS=true
48
- export RUN_UNITTESTS=true
49
50
elif [ " $BUILD_TARGET " = " win64" ]; then
50
51
export HOST=x86_64-w64-mingw32
51
52
export DPKG_ADD_ARCH=" i386"
52
53
export BITCOIN_CONFIG=" --enable-gui --enable-reduce-exports --disable-miner"
53
54
export DIRECT_WINE_EXEC_TESTS=true
54
- export RUN_UNITTESTS=true
55
55
elif [ " $BUILD_TARGET " = " linux32" ]; then
56
56
export HOST=i686-pc-linux-gnu
57
57
export BITCOIN_CONFIG=" --enable-zmq --enable-glibc-back-compat --enable-reduce-exports --enable-crash-hooks LDFLAGS=-static-libstdc++"
58
58
export USE_SHELL=" /bin/dash"
59
59
export PYZMQ=true
60
- export RUN_UNITTESTS=true
61
- export RUN_INTEGRATIONTESTS=true
62
60
elif [ " $BUILD_TARGET " = " linux64" ]; then
63
61
export HOST=x86_64-unknown-linux-gnu
64
62
export DEP_OPTS=" NO_UPNP=1 DEBUG=1"
65
63
export BITCOIN_CONFIG=" --enable-zmq --enable-glibc-back-compat --enable-reduce-exports --enable-crash-hooks"
66
64
export CPPFLAGS=" -DDEBUG_LOCKORDER -DENABLE_DASH_DEBUG -DARENA_DEBUG"
67
65
export PYZMQ=true
68
- export RUN_UNITTESTS=true
69
- export RUN_INTEGRATIONTESTS=true
70
66
elif [ " $BUILD_TARGET " = " linux64_cxx17" ]; then
71
67
export HOST=x86_64-unknown-linux-gnu
72
68
export DEP_OPTS=" NO_UPNP=1 DEBUG=1"
73
- export BITCOIN_CONFIG=" --enable-zmq --enable-glibc-back-compat --enable-reduce-exports --enable-crash-hooks --enable-c++17"
69
+ export BITCOIN_CONFIG=" --enable-zmq --enable-glibc-back-compat --enable-reduce-exports --enable-crash-hooks --enable-c++17 --with-sanitizers=undefined "
74
70
export CPPFLAGS=" -DDEBUG_LOCKORDER -DENABLE_DASH_DEBUG -DARENA_DEBUG"
75
71
export PYZMQ=true
76
- export RUN_UNITTESTS=true
77
- export RUN_INTEGRATIONTESTS=true
72
+ export RUN_INTEGRATIONTESTS=false
78
73
elif [ " $BUILD_TARGET " = " linux64_nowallet" ]; then
79
74
export HOST=x86_64-unknown-linux-gnu
80
75
export DEP_OPTS=" NO_WALLET=1"
81
76
export BITCOIN_CONFIG=" --enable-glibc-back-compat --enable-reduce-exports"
82
- export RUN_UNITTESTS=true
83
77
elif [ " $BUILD_TARGET " = " linux64_release" ]; then
84
78
export HOST=x86_64-unknown-linux-gnu
85
79
export DEP_OPTS=" NO_UPNP=1"
86
80
export BITCOIN_CONFIG=" --enable-zmq --enable-glibc-back-compat --enable-reduce-exports"
87
81
export PYZMQ=true
88
- export RUN_UNITTESTS=true
89
82
elif [ " $BUILD_TARGET " = " mac" ]; then
90
83
export HOST=x86_64-apple-darwin14
91
84
export BITCOIN_CONFIG=" --enable-gui --enable-reduce-exports --disable-miner"
92
85
export OSX_SDK=10.11
93
86
export GOAL=" all deploy"
87
+ export RUN_UNITTESTS=false
88
+ export RUN_INTEGRATIONTESTS=false
94
89
fi
0 commit comments