From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 81C2D1384B4 for ; Tue, 1 Dec 2015 07:26:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46EC521C0CE; Tue, 1 Dec 2015 07:25:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D83721C04E for ; Tue, 1 Dec 2015 07:25:52 +0000 (UTC) Received: from jmac.jlec.de (static-2-1005.not-your-server.de [IPv6:2a01:4f8:191:22ca::2:1005]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jlec) by smtp.gentoo.org (Postfix) with ESMTPSA id BCC8D33D3D0; Tue, 1 Dec 2015 07:25:50 +0000 (UTC) Subject: Re: [gentoo-dev] [PATCH 8/8] virtualx.eclass: Simplify API into single virtx() To: gentoo-dev@lists.gentoo.org References: <1448717061-11581-1-git-send-email-jlec@gentoo.org> <1448717061-11581-9-git-send-email-jlec@gentoo.org> <5659CD63.2080000@gentoo.org> From: "Justin Lecher (jlec)" Message-ID: <565D4B7B.6020208@gentoo.org> Date: Tue, 1 Dec 2015 08:25:47 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: c6847500-37f5-4642-89f4-44989ce99a99 X-Archives-Hash: 8e66f6c052066cbf7b8bb307e971d89d -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 30/11/15 18:40, Davide Pesavento wrote: > > The scenario of bug 517976 is different. I think a minimized test > case is the following (untested): > > foo() { die "meh" return 0 } > > src_test() { virtx foo } > This example will still break the build, although the Xvfb session wouldn't get killed. Let's move the discussion to the bug. Justin * Scanning for an open DISPLAY to start Xvfb ... debug: virtx: XDISPLAY=0 debug: virtx: /usr/bin/Xvfb :0 -screen 0 1280x1024x24 * Starting Xvfb on $DISPLAY=0 ... debug: virtx: emake "foo" * ERROR: app-misc/dummy-1::dummy failed (test phase): * meh * * Call stack: * ebuild.sh, line 133: Called src_test * environment, line 2076: Called virtx 'foo' * environment, line 2699: Called nonfatal 'foo' * isolated-functions.sh, line 105: Called foo * environment, line 987: Called die * The specific snippet of code: * die "meh"; * -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0 iQJ8BAEBCgBmBQJWXUt6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiWGsQALjFU4Z+1yUOUWGyBf7n31hc FUAq/ZnsFEd8ZPKRSyZVY+os/PjbwMCQQk0U7hUySLZ43mSfzC0aelKMAXx6BYoS ss8jp2s5LoeIV+YdCIUiIE/y4GHvYwln61W+XrM6TslEaAMVbrKuKoa/TvzE6mrN Et9ebl7E6LpwTMc72jdGd8KWtkLdl2Ddgt99pKcC9vA7IEZPGlci/Nz7AtHycP3m YectPEzWVdirNlRcKCDxcCdHbYH1mKjd3kjtatb6nDXURhM4l4qL/OZEdx5mKpyp EAu+7RzU7XOgyUMuvwWpPtmA/jaR6VSEWJY9W+EwYS3LwNRJczADfEGzE2EGCj+r 0iSOvF2b9DqgO800ENSPH7iUgvgw3pTLqMdUSHsvZg5dw1u08S1DCuB2T1/9Nfin OUk/zsGELJQ5C0m7a1vugG1PNBmjKNlaKtW+bIDitPgL71GCeQ2QU0Oo5SKRH+bv Qp2mguaR3nL1xm6MrnRT7bIKW92FRDT2P3eHTRylWg495/i8veaiUL/QBwnegOU5 En4kCyaBusujyT2l5DZnYb6RNOfUWlFQOquaKbK1yRtDsk7tG+HfRkSQR4s6Dlo4 sIdCrjhvgDeTy+6DwcXGWex1nG2ZUkLu36O6uIEFphTgbG3dlXYE1lvrGLwIHyZg /5PC3gOTW6R0s/DfzDDh =8pwz -----END PGP SIGNATURE-----