mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
dev-lua/penlight: disable test for non-existent command
Closes: https://bugs.gentoo.org/763501 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -34,14 +34,21 @@ BDEPEND="
|
||||
|
||||
HTML_DOCS=( "docs/." )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# This is a demo app, not a real test
|
||||
rm tests/test-app.lua || die
|
||||
|
||||
# Remove test for executing a non-existent command
|
||||
sed -e '/most-likely-nonexistent-command/d' -i tests/test-utils3.lua || die
|
||||
}
|
||||
|
||||
lua_src_test() {
|
||||
${ELUA} run.lua || die
|
||||
"${ELUA}" run.lua || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# This is a demo app, not a real test
|
||||
rm tests/test-app.lua
|
||||
|
||||
lua_foreach_impl lua_src_test
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -32,10 +32,17 @@ BDEPEND="
|
||||
|
||||
HTML_DOCS=( "docs/." )
|
||||
|
||||
src_test() {
|
||||
# This is a demo app, not a real test
|
||||
rm tests/test-app.lua
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# This is a demo app, not a real test
|
||||
rm tests/test-app.lua || die
|
||||
|
||||
# Remove test for executing a non-existent command
|
||||
sed -e '/most-likely-nonexistent-command/d' -i tests/test-utils3.lua || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
lua run.lua || die
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user