commit:     4f8a920b24148ad40b743a5d5b9814c53791757d
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 10 19:58:23 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jun 10 20:07:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8a920b

app-text/texlive-core: re-enable tests

Since the >=texlive-core-2023 we called src_test with a different S,
resulting in now tests being executed with the default src_test()
impelementation.

Re-activate src_test, but zap three tests that fail for an yet unknown
reason. All other tests are green.

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023-r7.ebuild | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/app-text/texlive-core/texlive-core-2023-r7.ebuild 
b/app-text/texlive-core/texlive-core-2023-r7.ebuild
index 10687a1f1e0c..07f6c5a31e93 100644
--- a/app-text/texlive-core/texlive-core-2023-r7.ebuild
+++ b/app-text/texlive-core/texlive-core-2023-r7.ebuild
@@ -385,6 +385,20 @@ src_compile() {
                && cat "${T}/updmap_update3" > "texmf-dist/web2c/updmap.cfg"
 }
 
+src_test() {
+       cd "${BUILDDIR}" || die
+
+       sed -i \
+               -e 's;uptexdir/nissya.test;;' \
+               -e 's;uptexdir/upbibtex.test;;' \
+               texk/web2c/Makefile || die
+       sed -i \
+               -e 's;dvispc.test;;' \
+               texk/dviout-util/Makefile || die
+
+       emake check
+}
+
 src_install() {
        cd "${BUILDDIR}" || die
        dodir ${TEXMF_PATH:-/usr/share/texmf-dist}/web2c

Reply via email to