From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1237620-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B94B41382C5 for <garchives@archives.gentoo.org>; Mon, 4 Jan 2021 19:28:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7101E099C; Mon, 4 Jan 2021 19:28:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CDE95E099C for <gentoo-commits@lists.gentoo.org>; Mon, 4 Jan 2021 19:28:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 77C6E341115 for <gentoo-commits@lists.gentoo.org>; Mon, 4 Jan 2021 19:28:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31E47CC for <gentoo-commits@lists.gentoo.org>; Mon, 4 Jan 2021 19:28:47 +0000 (UTC) From: "Conrad Kostecki" <conikost@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" <conikost@gentoo.org> Message-ID: <1609788519.f3d4ed9d3748575bbfceb4629dc7657b1c3f8b0c.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/penlight/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/penlight/penlight-1.9.2-r101.ebuild dev-lua/penlight/penlight-1.9.2.ebuild X-VCS-Directories: dev-lua/penlight/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: f3d4ed9d3748575bbfceb4629dc7657b1c3f8b0c X-VCS-Branch: master Date: Mon, 4 Jan 2021 19:28:47 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 463e1811-b0d9-440d-814b-ec7098e3d03a X-Archives-Hash: 073015dac94aec5326a1951932138390 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 }