summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-06-04 10:31:18 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-06-04 10:31:26 +0100
commit5f37a5d8d047c32806eefc0d6da6a3101d03816d (patch)
treeb03f010bad1d052ae5afe090ca176d3741dac381 /dev-util/rizin
parentwww-apps/owncloud: drop old (diff)
downloadgentoo-5f37a5d8d047c32806eefc0d6da6a3101d03816d.tar.gz
gentoo-5f37a5d8d047c32806eefc0d6da6a3101d03816d.tar.bz2
gentoo-5f37a5d8d047c32806eefc0d6da6a3101d03816d.zip
dev-util/rizin: disable rzpipe test
The test relies on `rizin` presence in PATH. This means test run fails on first install attempt of rizin. Let's disable test test until it's sorted out upstream. Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/rizin')
-rw-r--r--dev-util/rizin/files/rizin-0.2.1-no-rzpipe.patch14
-rw-r--r--dev-util/rizin/rizin-0.2.1.ebuild2
2 files changed, 16 insertions, 0 deletions
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
new file mode 100644
index 000000000000..3e7a6cc70c17
--- /dev/null
+++ b/dev-util/rizin/files/rizin-0.2.1-no-rzpipe.patch
@@ -0,0 +1,14 @@
+https://github.com/rizinorg/rizin/issues/1192
+--- a/test/unit/test_rzpipe.c
++++ b/test/unit/test_rzpipe.c
+@@ -30,7 +30,9 @@ static bool test_rzpipe_404(void) {
+ }
+
+ static int all_tests() {
+- mu_run_test(test_rzpipe);
++ // Disabled in Genoo, relies on `rizin` binary in $PATH:
++ // https://github.com/rizinorg/rizin/issues/1192
++ //mu_run_test(test_rzpipe);
+ mu_run_test(test_rzpipe_404);
+ return tests_passed != tests_run;
+ }
diff --git a/dev-util/rizin/rizin-0.2.1.ebuild b/dev-util/rizin/rizin-0.2.1.ebuild
index 7f58bcca359d..08ed3c5435e2 100644
--- a/dev-util/rizin/rizin-0.2.1.ebuild
+++ b/dev-util/rizin/rizin-0.2.1.ebuild
@@ -36,6 +36,8 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="${PYTHON_DEPS}"
+PATCHES=("${FILESDIR}"/${PN}-0.2.1-no-rzpipe.patch)
+
S="${WORKDIR}/${PN}-v${PV}"
src_prepare() {