From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 7A6601382C5 for ; Thu, 13 May 2021 21:36:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA2EDE0821; Thu, 13 May 2021 21:36:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 B0849E0821 for ; Thu, 13 May 2021 21:36:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 91C7F335CE4 for ; Thu, 13 May 2021 21:36:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D982E729 for ; Thu, 13 May 2021 21:36:11 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1620941761.6f603892beae75d85e37be7448f9528cb71c2e83.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nodejs/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/nodejs/nodejs-12.22.1-r1.ebuild X-VCS-Directories: net-libs/nodejs/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 6f603892beae75d85e37be7448f9528cb71c2e83 X-VCS-Branch: master Date: Thu, 13 May 2021 21:36:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6b3a5310-8ff7-49ec-9774-ac11d46ddaee X-Archives-Hash: 4350eba94a35f02ca60d9c720c6867ba commit: 6f603892beae75d85e37be7448f9528cb71c2e83 Author: Marek Szuba gentoo org> AuthorDate: Thu May 13 21:35:14 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Thu May 13 21:36:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f603892 net-libs/nodejs-12.22.1-r1: remove test restriction Signed-off-by: Marek Szuba gentoo.org> net-libs/nodejs/nodejs-12.22.1-r1.ebuild | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/net-libs/nodejs/nodejs-12.22.1-r1.ebuild b/net-libs/nodejs/nodejs-12.22.1-r1.ebuild index 754e3973f54..9c4fe05c005 100644 --- a/net-libs/nodejs/nodejs-12.22.1-r1.ebuild +++ b/net-libs/nodejs/nodejs-12.22.1-r1.ebuild @@ -30,6 +30,8 @@ REQUIRED_USE=" system-ssl? ( ssl ) " +RESTRICT="!test? ( test )" + RDEPEND=" >=app-arch/brotli-1.0.9 >=dev-libs/libuv-1.39.0:= @@ -58,7 +60,6 @@ PATCHES=( "${FILESDIR}"/${PN}-12.22.1-v8_icu69.patch "${FILESDIR}"/${PN}-99999999-llhttp.patch ) -RESTRICT="test" pkg_pretend() { (use x86 && ! use cpu_flags_x86_sse2) && \ @@ -101,12 +102,8 @@ src_prepare() { sed -i -e "/'-O3'/d" common.gypi node.gypi || die - # Avoid a test that I've only been able to reproduce from emerge. It doesnt - # seem sandbox related either (invoking it from a sandbox works fine). - # The issue is that no stdin handle is openened when asked for one. - # It doesn't really belong upstream , so it'll just be removed until someone - # with more gentoo-knowledge than me (jbergstroem) figures it out. - rm test/parallel/test-stdout-close-unref.js || die + # Known-to-fail test of a deprecated, legacy HTTP parser. Just don't bother. + rm -f test/parallel/test-http-transfer-encoding-smuggling-legacy.js # debug builds. change install path, remove optimisations and override buildtype if use debug; then @@ -229,8 +226,14 @@ src_install() { } src_test() { + # parallel/test-fs-mkdir is known to fail with FEATURES=usersandbox + if has usersandbox ${FEATURES}; then + ewarn "You are emerging ${P} with 'usersandbox' enabled." \ + "Expect some test failures or emerge with 'FEATURES=-usersandbox'!" + fi + out/${BUILDTYPE}/cctest || die - "${PYTHON}" tools/test.py --mode=${BUILDTYPE,,} -J message parallel sequential || die + "${PYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die } pkg_postinst() {