commit:     275cd1bde43d7dca337e01a234ab1cc5820276fb
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 15 23:11:23 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 23:37:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275cd1bd

dev-lua/lgi: mask tests for luajit

According to upstream, luakit tests are currently not working.

Closes: https://bugs.gentoo.org/774270
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/lgi/lgi-0.9.2-r100.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/dev-lua/lgi/lgi-0.9.2-r100.ebuild 
b/dev-lua/lgi/lgi-0.9.2-r100.ebuild
index 8c362af8788a..4fab943f27a6 100644
--- a/dev-lua/lgi/lgi-0.9.2-r100.ebuild
+++ b/dev-lua/lgi/lgi-0.9.2-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -97,9 +97,14 @@ src_compile() {
 
 lua_src_test() {
        pushd "${BUILD_DIR}" || die
-       virtx \
-               lgi_emake_wrapper \
-               check
+
+       if [[ ${ELUA} == luajit ]]; then
+               einfo "Tests are currently not supported on LuaJIT"
+       else
+               virtx \
+                       lgi_emake_wrapper \
+                       check
+       fi
        popd
 }
 

Reply via email to