From patchwork Tue Feb 21 00:33:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 47182 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A909816AFC; Tue, 21 Feb 2023 00:35:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 25FD916653 for ; Tue, 21 Feb 2023 00:35:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUGca-0001z4-Hi; Mon, 20 Feb 2023 19:35:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUGcZ-0001yn-Il for guix-patches@gnu.org; Mon, 20 Feb 2023 19:35:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUGcZ-0005Rd-4E for guix-patches@gnu.org; Mon, 20 Feb 2023 19:35:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUGcZ-0002tS-0F for guix-patches@gnu.org; Mon, 20 Feb 2023 19:35:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61645] [PATCH v2 4/4] Set only GUILE_LOAD_PATH when running tests. References: <20230220013821.27440-1-arunisaac@systemreboot.net> In-Reply-To: <20230220013821.27440-1-arunisaac@systemreboot.net> Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Feb 2023 00:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61645@debbugs.gnu.org Cc: Ricardo Wurmus , Arun Isaac Received: via spool by 61645-submit@debbugs.gnu.org id=B61645.167693965111038 (code B ref 61645); Tue, 21 Feb 2023 00:35:02 +0000 Received: (at 61645) by debbugs.gnu.org; 21 Feb 2023 00:34:11 +0000 Received: from localhost ([127.0.0.1]:53946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGbi-0002ry-JB for submit@debbugs.gnu.org; Mon, 20 Feb 2023 19:34:10 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:38136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUGbf-0002rm-Ev for 61645@debbugs.gnu.org; Mon, 20 Feb 2023 19:34:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2lhl3gdCJ47NFPpD77/Qd16kluD4EmntFysWyOzBBF8=; b=L+jzH3cYhUE8CbLIUaiTuL0lsA f7bu55lni4vtmPWzpJAQsHWTxpYjw9rqlPh+EYQfwMORVghBF8TDDVZ2ZaLFBlIe/2vId/XQWpVFS fjiCBgydkWl1xMQknlrn2waTyYUA/9XXG492AIbeBrUUnAQXclwBcau47goWrXrkGIbSf4DwNNEsm kKMCKLGKZDvSKW9H6RUkNkND0p5bbKYGFIYnO+Zoe8dFsNs+gE9Wxq7/nY95S1t5lBiLRPL4rgYkw 5AsEG6BSiH/rokjW5CGU/jrBg81M8baOBF+8XOriys0nw9ELC9Gn8au3BMtbG/wbbxfFGT+SpCGpu IAoHpSzg==; Received: from [192.168.2.1] (port=35216 helo=steel.lan) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pUGba-0009Um-2d; Tue, 21 Feb 2023 06:04:03 +0530 From: Arun Isaac Date: Tue, 21 Feb 2023 00:33:55 +0000 Message-Id: <20230221003355.5393-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Somehow, the stubs in tests/client.scm do not work when compiled modules are found. This could be a guile bug. * Makefile.am (SCM_LOG_DRIVER): Do not use pre-inst-env. Set only the load path. --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 86ba4f0..3e57e63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,8 +70,7 @@ EXTRA_DIST += $(TESTS) \ AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0 SCM_LOG_DRIVER = \ - $(top_builddir)/pre-inst-env \ - $(GUILE) --no-auto-compile -e main \ + $(GUILE) --no-auto-compile -L $(top_srcdir) -e main \ $(top_srcdir)/build-aux/test-driver.scm AM_SCM_LOG_DRIVER_FLAGS = --brief=yes