[Pkg-bitcoin-commits] [bitcoin] 03/05: Add patch 2002 to avoid tests requiring network access. Closes: Bug#844933. Thanks to Lucas Nussbaum and Rudy Godoy Guillén.
Jonas Smedegaard
dr at jones.dk
Thu Nov 2 23:32:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.15.0.1_dfsg-2
in repository bitcoin.
commit 7bb29bdd32097b6e7e652b141169bac451831556
Author: Jonas Smedegaard <dr at jones.dk>
Date: Thu Nov 2 22:49:16 2017 +0100
Add patch 2002 to avoid tests requiring network access. Closes: Bug#844933. Thanks to Lucas Nussbaum and Rudy Godoy Guillén.
---
debian/patches/2002_avoid_network_tests.patch | 23 +++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 24 insertions(+)
diff --git a/debian/patches/2002_avoid_network_tests.patch b/debian/patches/2002_avoid_network_tests.patch
new file mode 100644
index 0000000..db428a9
--- /dev/null
+++ b/debian/patches/2002_avoid_network_tests.patch
@@ -0,0 +1,23 @@
+Description: Avoid tests requiring network access
+Author: Jonas Smedegaard <dr at jones.dk>
+Bug-Debian: https://bugs.debian.org/844933
+Last-Update: 2017-11-02
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/qt/test/test_main.cpp
++++ b/src/qt/test/test_main.cpp
+@@ -77,10 +77,10 @@
+ fInvalid = true;
+ }
+ #ifdef ENABLE_WALLET
+- PaymentServerTests test2;
+- if (QTest::qExec(&test2) != 0) {
+- fInvalid = true;
+- }
++// PaymentServerTests test2;
++// if (QTest::qExec(&test2) != 0) {
++// fInvalid = true;
++// }
+ #endif
+ RPCNestedTests test3;
+ if (QTest::qExec(&test3) != 0) {
diff --git a/debian/patches/series b/debian/patches/series
index 7319c0c..938105c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
1001_use_system_leveldb.patch
1002_use_system_secp256k1.patch
2001_avoid_embedded_libs.patch
+2002_avoid_network_tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/bitcoin.git
More information about the Pkg-bitcoin-commits
mailing list