summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-26 18:08:00 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-26 18:08:00 +0000
commit84b694be6f15d5f629a7ee1b7819703002c5acf0 (patch)
tree5f6c73f602ddf0808937811a2ad952477720071a /net-misc/wget/files
parentCleanup: license changed, no point in autoupdate, TODO does not exist, while ... (diff)
downloadgentoo-2-84b694be6f15d5f629a7ee1b7819703002c5acf0.tar.gz
gentoo-2-84b694be6f15d5f629a7ee1b7819703002c5acf0.tar.bz2
gentoo-2-84b694be6f15d5f629a7ee1b7819703002c5acf0.zip
Automatically skip tests that require USE=debug #286173 by Alexis Ballier.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/wget/files')
-rw-r--r--net-misc/wget/files/wget-1.12-debug-tests.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/net-misc/wget/files/wget-1.12-debug-tests.patch b/net-misc/wget/files/wget-1.12-debug-tests.patch
new file mode 100644
index 000000000000..7891ed354629
--- /dev/null
+++ b/net-misc/wget/files/wget-1.12-debug-tests.patch
@@ -0,0 +1,52 @@
+Skip tests that require USE=debug when building with USE=-debug
+
+http://bugs.gentoo.org/286173
+
+--- a/tests/Test-E-k-K.px
++++ b/tests/Test-E-k-K.px
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+
++use WgetFeature qw(debug);
+ use HTTPTest;
+
+
+--- a/tests/Test-cookies-401.px
++++ b/tests/Test-cookies-401.px
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+
++use WgetFeature qw(debug);
+ use HTTPTest;
+
+
+--- a/tests/Test-ftp-bad-list.px
++++ b/tests/Test-ftp-bad-list.px
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+
++use WgetFeature qw(debug);
+ use FTPTest;
+
+
+--- a/tests/Test-proxy-auth-basic.px
++++ b/tests/Test-proxy-auth-basic.px
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+
++use WgetFeature qw(debug);
+ use HTTPTest;
+
+
+--- a/tests/WgetFeature.cfg
++++ b/tests/WgetFeature.cfg
+@@ -1,4 +1,5 @@
+ %skip_messages = (
++ debug => "Not running test: Wget under test doesn't support debug.",
+ https => "Not running test: Wget under test doesn't support HTTPS.",
+ iri => "Not running test: Wget under test doesn't support IDN/IRI.",
+ );