summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-10-23 10:12:29 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-10-23 10:14:32 +0200
commitbd51c806ea638fd618f62fefde355f762058a137 (patch)
treef46dff1cd1568d0d341cb7d1e7f3538f9fa555f5 /dev-ml
parentdev-python/uvloop: Stabilize 0.17.0 sparc, #878003 (diff)
downloadgentoo-bd51c806ea638fd618f62fefde355f762058a137.tar.gz
gentoo-bd51c806ea638fd618f62fefde355f762058a137.tar.bz2
gentoo-bd51c806ea638fd618f62fefde355f762058a137.zip
dev-ml/merlin: src_prepare test fixes
Closes: https://bugs.gentoo.org/878049 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/merlin/merlin-4.5-r3.ebuild7
-rw-r--r--dev-ml/merlin/merlin-4.6.ebuild7
2 files changed, 10 insertions, 4 deletions
diff --git a/dev-ml/merlin/merlin-4.5-r3.ebuild b/dev-ml/merlin/merlin-4.5-r3.ebuild
index c33b0aee04ac..b3cc5b868e42 100644
--- a/dev-ml/merlin/merlin-4.5-r3.ebuild
+++ b/dev-ml/merlin/merlin-4.5-r3.ebuild
@@ -61,8 +61,11 @@ src_prepare() {
# Handle installation via the eclass
rm emacs/dune || die
- # This test runs only inside a git repo
- rm -r tests/test-dirs/occurrences/issue1404.t || die
+ # This test runs only inside a git repo,
+ # it is not included in merlin release for ocaml 4.12.
+ if [[ -f tests/test-dirs/occurrences/issue1404.t ]] ; then
+ rm tests/test-dirs/occurrences/issue1404.t || die
+ fi
}
src_compile() {
diff --git a/dev-ml/merlin/merlin-4.6.ebuild b/dev-ml/merlin/merlin-4.6.ebuild
index fa661a5ad042..8086c63f9c25 100644
--- a/dev-ml/merlin/merlin-4.6.ebuild
+++ b/dev-ml/merlin/merlin-4.6.ebuild
@@ -66,8 +66,11 @@ src_prepare() {
# Handle installation via the eclass
rm emacs/dune || die
- # This test runs only inside a git repo
- rm -r tests/test-dirs/occurrences/issue1404.t || die
+ # This test runs only inside a git repo,
+ # it is not included in merlin release for ocaml 4.12.
+ if [[ -f tests/test-dirs/occurrences/issue1404.t ]] ; then
+ rm tests/test-dirs/occurrences/issue1404.t || die
+ fi
rm -r tests/test-dirs/locate/context-detection/cd-mod_constr.t || die
}