1 |
commit: b3c63137dbc1ebc195515b18ab2a22f7a10067dd |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 17 02:08:40 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 17 02:09:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c63137 |
7 |
|
8 |
gnome-extra/libgsf: Skip valgrind tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/840353 |
11 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
12 |
|
13 |
.../libgsf/files/1.14.49-skip-valgrind-tests.patch | 27 ++++++++++++++++++++++ |
14 |
gnome-extra/libgsf/libgsf-1.14.49.ebuild | 4 ++++ |
15 |
2 files changed, 31 insertions(+) |
16 |
|
17 |
diff --git a/gnome-extra/libgsf/files/1.14.49-skip-valgrind-tests.patch b/gnome-extra/libgsf/files/1.14.49-skip-valgrind-tests.patch |
18 |
new file mode 100644 |
19 |
index 000000000000..81993e34ebd7 |
20 |
--- /dev/null |
21 |
+++ b/gnome-extra/libgsf/files/1.14.49-skip-valgrind-tests.patch |
22 |
@@ -0,0 +1,27 @@ |
23 |
+diff --git a/tests/t8000-valgrind-zip.pl b/tests/t8000-valgrind-zip.pl |
24 |
+index ad7597c..8c96b85 100755 |
25 |
+--- a/tests/t8000-valgrind-zip.pl |
26 |
++++ b/tests/t8000-valgrind-zip.pl |
27 |
+@@ -5,6 +5,8 @@ use strict; |
28 |
+ use lib ($0 =~ m|^(.*/)| ? $1 : "."); |
29 |
+ use LibGsfTest; |
30 |
+ |
31 |
++exit 77; # Skip test, bug #840353 |
32 |
++ |
33 |
+ my $archive = "test.zip"; |
34 |
+ &LibGsfTest::junkfile ($archive); |
35 |
+ |
36 |
+diff --git a/tests/t8020-valgrind-ole.pl b/tests/t8020-valgrind-ole.pl |
37 |
+index d6df5d7..b8200e9 100755 |
38 |
+--- a/tests/t8020-valgrind-ole.pl |
39 |
++++ b/tests/t8020-valgrind-ole.pl |
40 |
+@@ -5,6 +5,8 @@ use strict; |
41 |
+ use lib ($0 =~ m|^(.*/)| ? $1 : "."); |
42 |
+ use LibGsfTest; |
43 |
+ |
44 |
++exit 77; # Skip test, bug #840353 |
45 |
++ |
46 |
+ my $archive = "test.ole"; |
47 |
+ &LibGsfTest::junkfile ($archive); |
48 |
+ |
49 |
+-- |
50 |
|
51 |
diff --git a/gnome-extra/libgsf/libgsf-1.14.49.ebuild b/gnome-extra/libgsf/libgsf-1.14.49.ebuild |
52 |
index 795fb272712c..cc9401e319aa 100644 |
53 |
--- a/gnome-extra/libgsf/libgsf-1.14.49.ebuild |
54 |
+++ b/gnome-extra/libgsf/libgsf-1.14.49.ebuild |
55 |
@@ -32,6 +32,10 @@ DEPEND="${RDEPEND} |
56 |
test? ( dev-perl/XML-Parser ) |
57 |
" |
58 |
|
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/1.14.49-skip-valgrind-tests.patch |
61 |
+) |
62 |
+ |
63 |
src_configure() { |
64 |
gnome2_src_configure \ |
65 |
--disable-static \ |