From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/penlight/
Date: Mon, 4 Jan 2021 19:28:47 +0000 (UTC) [thread overview]
Message-ID: <1609788519.f3d4ed9d3748575bbfceb4629dc7657b1c3f8b0c.conikost@gentoo> (raw)
commit: f3d4ed9d3748575bbfceb4629dc7657b1c3f8b0c
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 4 19:28:26 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Jan 4 19:28:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3d4ed9d
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 <AT> gentoo.org>
dev-lua/penlight/penlight-1.9.2-r101.ebuild | 17 ++++++++++++-----
dev-lua/penlight/penlight-1.9.2.ebuild | 13 ++++++++++---
2 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/dev-lua/penlight/penlight-1.9.2-r101.ebuild b/dev-lua/penlight/penlight-1.9.2-r101.ebuild
index 1b88d0b0c28..8db997ae866 100644
--- a/dev-lua/penlight/penlight-1.9.2-r101.ebuild
+++ b/dev-lua/penlight/penlight-1.9.2-r101.ebuild
@@ -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
}
diff --git a/dev-lua/penlight/penlight-1.9.2.ebuild b/dev-lua/penlight/penlight-1.9.2.ebuild
index fee4959b0ee..e334e61a743 100644
--- a/dev-lua/penlight/penlight-1.9.2.ebuild
+++ b/dev-lua/penlight/penlight-1.9.2.ebuild
@@ -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() {
+src_prepare() {
+ default
+
# This is a demo app, not a real test
- rm tests/test-app.lua
+ 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
}
next reply other threads:[~2021-01-04 19:28 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-04 19:28 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-22 20:01 [gentoo-commits] repo/gentoo:master commit in: dev-lua/penlight/ Conrad Kostecki
2024-06-10 20:39 William Hubbs
2024-05-25 0:49 Sam James
2024-04-17 14:13 Conrad Kostecki
2022-08-22 20:05 Conrad Kostecki
2022-08-22 0:00 Sam James
2022-07-22 19:47 Conrad Kostecki
2022-07-22 19:47 Conrad Kostecki
2022-02-20 15:11 Conrad Kostecki
2022-02-20 15:11 Conrad Kostecki
2022-01-20 23:56 Conrad Kostecki
2021-12-20 20:50 William Hubbs
2021-10-21 20:37 Conrad Kostecki
2021-10-20 0:21 Sam James
2021-09-18 12:29 Marek Szuba
2021-08-19 11:52 Conrad Kostecki
2021-05-28 21:41 Conrad Kostecki
2021-05-28 21:41 Conrad Kostecki
2021-05-28 21:41 Conrad Kostecki
2021-05-28 21:41 Conrad Kostecki
2021-05-28 21:41 Conrad Kostecki
2021-05-28 21:41 Conrad Kostecki
2021-05-28 21:41 Conrad Kostecki
2021-04-27 13:47 Conrad Kostecki
2021-04-20 21:20 Sergei Trofimovich
2021-04-19 18:32 Sergei Trofimovich
2021-04-17 12:24 Conrad Kostecki
2021-02-21 21:22 Conrad Kostecki
2021-01-27 19:48 Conrad Kostecki
2021-01-24 3:52 Sam James
2021-01-23 22:51 Sam James
2021-01-23 22:51 Sam James
2021-01-09 14:29 Conrad Kostecki
2021-01-04 0:25 Conrad Kostecki
2021-01-04 0:25 Conrad Kostecki
2020-12-03 13:11 Marek Szuba
2020-11-30 13:33 Conrad Kostecki
2020-11-29 17:11 Sergei Trofimovich
2020-11-28 17:45 Conrad Kostecki
2020-11-28 17:45 Conrad Kostecki
2020-11-28 17:45 Conrad Kostecki
2020-11-26 23:04 Sergei Trofimovich
2020-11-26 8:32 Sam James
2020-11-25 10:28 Thomas Deutschmann
2020-11-24 1:52 Sam James
2020-10-12 10:57 Conrad Kostecki
2020-03-16 0:12 Georgy Yakovlev
2020-03-16 0:12 Georgy Yakovlev
2018-12-29 12:10 Mikle Kolyada
2018-03-18 11:38 Sergei Trofimovich
2017-12-25 19:22 Markus Meier
2017-03-16 10:27 Michael Palimaka
2017-01-07 1:52 Aaron Bauman
2015-11-11 17:50 William Hubbs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1609788519.f3d4ed9d3748575bbfceb4629dc7657b1c3f8b0c.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox