Skip to content

Commit 1caafa6

Browse files
committed
Merge #10508: Run Qt wallet tests on travis
4f92b5f Run Qt wallet tests on travis (Russell Yanofsky) Pull request description: Currently these test failures are not caught by travis leading to bugs like: bitcoin/bitcoin#10506 Tree-SHA512: db1e4ff5b17bcd6fd000a3d21aa74f6b7e4c194e0663c1896a100612671910a7cdadd896b59642420ea016598895b54a8468914847ebefef105a3c47c311d4b2
2 parents 412b466 + 4f92b5f commit 1caafa6

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ env:
2929
- HOST=i686-pc-linux-gnu PACKAGES="g++-multilib bc python3-zmq" DEP_OPTS="NO_QT=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++" USE_SHELL="/bin/dash"
3030
# Win64
3131
- HOST=x86_64-w64-mingw32 DPKG_ADD_ARCH="i386" DEP_OPTS="NO_QT=1" PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine1.6 bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-reduce-exports"
32-
# bitcoind
33-
- HOST=x86_64-unknown-linux-gnu PACKAGES="bc python3-zmq" DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports CPPFLAGS=-DDEBUG_LOCKORDER"
34-
# No wallet
32+
# x86_64 Linux (uses qt5 dev package instead of depends Qt to speed up build and avoid timeout)
33+
- HOST=x86_64-unknown-linux-gnu PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev" DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports CPPFLAGS=-DDEBUG_LOCKORDER"
34+
# x86_64 Linux, No wallet
3535
- HOST=x86_64-unknown-linux-gnu PACKAGES="python3" DEP_OPTS="NO_WALLET=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
3636
# Cross-Mac
3737
- HOST=x86_64-apple-darwin11 PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports" OSX_SDK=10.11 GOAL="deploy"

depends/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ $(host_prefix)/share/config.site : config.site.in $(host_prefix)/.stamp_$(final_
134134
-e 's|@CXXFLAGS@|$(strip $(host_CXXFLAGS) $(host_$(release_type)_CXXFLAGS))|' \
135135
-e 's|@CPPFLAGS@|$(strip $(host_CPPFLAGS) $(host_$(release_type)_CPPFLAGS))|' \
136136
-e 's|@LDFLAGS@|$(strip $(host_LDFLAGS) $(host_$(release_type)_LDFLAGS))|' \
137+
-e 's|@allow_host_packages@|$(ALLOW_HOST_PACKAGES)|' \
137138
-e 's|@no_qt@|$(NO_QT)|' \
138139
-e 's|@no_wallet@|$(NO_WALLET)|' \
139140
-e 's|@no_upnp@|$(NO_UPNP)|' \

depends/config.site.in

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ fi
1313
if test -z $with_qt_translationdir; then
1414
with_qt_translationdir=$depends_prefix/translations
1515
fi
16-
if test -z $with_qt_bindir; then
16+
if test -z $with_qt_bindir && test -z "@no_qt@"; then
1717
with_qt_bindir=$depends_prefix/native/bin
1818
fi
19-
if test -z $with_protoc_bindir; then
19+
if test -z $with_protoc_bindir && test -z "@no_qt@"; then
2020
with_protoc_bindir=$depends_prefix/native/bin
2121
fi
2222

@@ -53,9 +53,10 @@ PKG_CONFIG="`which pkg-config` --static"
5353
# These two need to remain exported because pkg-config does not see them
5454
# otherwise. That means they must be unexported at the end of configure.ac to
5555
# avoid ruining the cache. Sigh.
56-
57-
export PKG_CONFIG_LIBDIR=$depends_prefix/lib/pkgconfig
58-
export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig
56+
export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig:$depends_prefix/lib/pkgconfig
57+
if test -z "@allow_host_packages@"; then
58+
export PKGCONFIG_LIBDIR=
59+
fi
5960

6061
CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
6162
LDFLAGS="-L$depends_prefix/lib $LDFLAGS"

0 commit comments

Comments
 (0)