summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-24 11:57:31 +0000
committerSam James <sam@gentoo.org>2022-12-24 12:36:21 +0000
commitd6dff2a1ec941339298a75a50302bcd81186d985 (patch)
tree0ed8e5700c8651dcad9535f5fe6f102eaed8cbc3 /dev-util/fq
parentdev-util/fq: drop 0.1.0 (diff)
downloadgentoo-d6dff2a1ec941339298a75a50302bcd81186d985.tar.gz
gentoo-d6dff2a1ec941339298a75a50302bcd81186d985.tar.bz2
gentoo-d6dff2a1ec941339298a75a50302bcd81186d985.zip
dev-util/fq: conditionally build tests
Avoid building & running tests twice (src_test will call 'make test'). Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/fq')
-rw-r--r--dev-util/fq/fq-0.2.0.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-util/fq/fq-0.2.0.ebuild b/dev-util/fq/fq-0.2.0.ebuild
index ae862b026637..992916809c7e 100644
--- a/dev-util/fq/fq-0.2.0.ebuild
+++ b/dev-util/fq/fq-0.2.0.ebuild
@@ -23,6 +23,9 @@ src_prepare() {
# https://github.com/wader/fq/issues/494
sed -i -e '/test_repl.exp/d' Makefile || die
+ # Don't unconditionally (and therefore twice) build tests
+ # TODO: upstream
+ sed -i -e 's/all: test fq/all: fq/' Makefile || die
}
src_compile() {