1 |
commit: 5f37a5d8d047c32806eefc0d6da6a3101d03816d |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 4 09:31:18 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 4 09:31:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f37a5d8 |
7 |
|
8 |
dev-util/rizin: disable rzpipe test |
9 |
|
10 |
The test relies on `rizin` presence in PATH. This means test run fails |
11 |
on first install attempt of rizin. Let's disable test test until it's |
12 |
sorted out upstream. |
13 |
|
14 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
15 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
16 |
|
17 |
dev-util/rizin/files/rizin-0.2.1-no-rzpipe.patch | 14 ++++++++++++++ |
18 |
dev-util/rizin/rizin-0.2.1.ebuild | 2 ++ |
19 |
2 files changed, 16 insertions(+) |
20 |
|
21 |
diff --git a/dev-util/rizin/files/rizin-0.2.1-no-rzpipe.patch b/dev-util/rizin/files/rizin-0.2.1-no-rzpipe.patch |
22 |
new file mode 100644 |
23 |
index 00000000000..3e7a6cc70c1 |
24 |
--- /dev/null |
25 |
+++ b/dev-util/rizin/files/rizin-0.2.1-no-rzpipe.patch |
26 |
@@ -0,0 +1,14 @@ |
27 |
+https://github.com/rizinorg/rizin/issues/1192 |
28 |
+--- a/test/unit/test_rzpipe.c |
29 |
++++ b/test/unit/test_rzpipe.c |
30 |
+@@ -30,7 +30,9 @@ static bool test_rzpipe_404(void) { |
31 |
+ } |
32 |
+ |
33 |
+ static int all_tests() { |
34 |
+- mu_run_test(test_rzpipe); |
35 |
++ // Disabled in Genoo, relies on `rizin` binary in $PATH: |
36 |
++ // https://github.com/rizinorg/rizin/issues/1192 |
37 |
++ //mu_run_test(test_rzpipe); |
38 |
+ mu_run_test(test_rzpipe_404); |
39 |
+ return tests_passed != tests_run; |
40 |
+ } |
41 |
|
42 |
diff --git a/dev-util/rizin/rizin-0.2.1.ebuild b/dev-util/rizin/rizin-0.2.1.ebuild |
43 |
index 7f58bcca359..08ed3c5435e 100644 |
44 |
--- a/dev-util/rizin/rizin-0.2.1.ebuild |
45 |
+++ b/dev-util/rizin/rizin-0.2.1.ebuild |
46 |
@@ -36,6 +36,8 @@ RDEPEND=" |
47 |
DEPEND="${RDEPEND}" |
48 |
BDEPEND="${PYTHON_DEPS}" |
49 |
|
50 |
+PATCHES=("${FILESDIR}"/${PN}-0.2.1-no-rzpipe.patch) |
51 |
+ |
52 |
S="${WORKDIR}/${PN}-v${PV}" |
53 |
|
54 |
src_prepare() { |