From 275cd1bde43d7dca337e01a234ab1cc5820276fb Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Wed, 16 Feb 2022 00:11:23 +0100 Subject: [PATCH] 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 --- 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 8c362af8788a7..4fab943f27a6e 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 }