1 |
commit: 2a59cd049fe2ba0787bc77a63df0490bf91b406d |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 3 11:05:36 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 3 11:06:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a59cd04 |
7 |
|
8 |
media-libs/harfbuzz: Fixed test failure. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/654194 |
11 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
12 |
|
13 |
.../harfbuzz/files/harfbuzz-1.7.6-test_fixup.patch | 22 ++++++++++++++++++++++ |
14 |
media-libs/harfbuzz/harfbuzz-1.7.6.ebuild | 4 ++++ |
15 |
2 files changed, 26 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/harfbuzz/files/harfbuzz-1.7.6-test_fixup.patch b/media-libs/harfbuzz/files/harfbuzz-1.7.6-test_fixup.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..a9187561849 |
20 |
--- /dev/null |
21 |
+++ b/media-libs/harfbuzz/files/harfbuzz-1.7.6-test_fixup.patch |
22 |
@@ -0,0 +1,22 @@ |
23 |
+From 93b03119da8674a3eddb7879857e9f17fa16fd2a Mon Sep 17 00:00:00 2001 |
24 |
+From: violet-sippial <38817272+violet-sippial@××××××××××××××××××××.com> |
25 |
+Date: Sat, 28 Apr 2018 20:29:13 +0200 |
26 |
+Subject: [PATCH] [subset] Do not compare ttx progress output in the tests |
27 |
+ |
28 |
+Suppress progress messages of ttx. This avoids comparing this output to the reference file which lets the test fail. |
29 |
+--- |
30 |
+ test/subset/run-tests.py | 1 + |
31 |
+ 1 file changed, 1 insertion(+) |
32 |
+ |
33 |
+diff --git a/test/subset/run-tests.py b/test/subset/run-tests.py |
34 |
+index 0b119fee6..1cd1a19f6 100755 |
35 |
+--- a/test/subset/run-tests.py |
36 |
++++ b/test/subset/run-tests.py |
37 |
+@@ -80,6 +80,7 @@ def run_test(test, should_check_ots): |
38 |
+ def run_ttx(file): |
39 |
+ print ("ttx %s" % file) |
40 |
+ cli_args = ["ttx", |
41 |
++ "-q", |
42 |
+ "-o-", |
43 |
+ file] |
44 |
+ return cmd(cli_args) |
45 |
|
46 |
diff --git a/media-libs/harfbuzz/harfbuzz-1.7.6.ebuild b/media-libs/harfbuzz/harfbuzz-1.7.6.ebuild |
47 |
index 652f9591f8d..47bad82a254 100644 |
48 |
--- a/media-libs/harfbuzz/harfbuzz-1.7.6.ebuild |
49 |
+++ b/media-libs/harfbuzz/harfbuzz-1.7.6.ebuild |
50 |
@@ -47,6 +47,10 @@ if [[ ${PV} = 9999 ]] ; then |
51 |
" |
52 |
fi |
53 |
|
54 |
+PATCHES=( |
55 |
+ "${FILESDIR}/${P}-test_fixup.patch" |
56 |
+) |
57 |
+ |
58 |
pkg_setup() { |
59 |
use test && python-any-r1_pkg_setup |
60 |
if ! use debug ; then |