summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2020-10-03 23:12:27 -0700
committerJoonas Niilola <juippis@gentoo.org>2020-10-11 12:29:51 +0300
commita61a533e025011127da2f53896c140196adfe7ae (patch)
treefd6c5cb6a0b60c72882b97f9e021c68348c3f9f1 /sci-electronics
parentsci-electronics/kicad: Bump to version 5.1.7 (diff)
downloadgentoo-a61a533e025011127da2f53896c140196adfe7ae.tar.gz
gentoo-a61a533e025011127da2f53896c140196adfe7ae.tar.bz2
gentoo-a61a533e025011127da2f53896c140196adfe7ae.zip
sci-electronics/kicad: Fix tests for 5.1.6
Closes: https://bugs.gentoo.org/741360 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad/kicad-5.1.6.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/sci-electronics/kicad/kicad-5.1.6.ebuild b/sci-electronics/kicad/kicad-5.1.6.ebuild
index 89c22dcb004e..57a75a01a638 100644
--- a/sci-electronics/kicad/kicad-5.1.6.ebuild
+++ b/sci-electronics/kicad/kicad-5.1.6.ebuild
@@ -131,6 +131,13 @@ src_install() {
fi
}
+src_test() {
+ # Test cannot find library in Portage's sandbox. Let's create a link so test can run.
+ ln -s "${S}_build/eeschema/_eeschema.kiface" "${S}_build/qa/eeschema/_eeschema.kiface"
+
+ default
+}
+
pkg_postinst() {
optfeature "Component symbols library" sci-electronics/kicad-symbols
optfeature "Component footprints library" sci-electronics/kicad-footprints