From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Volf <~@wolfsden.cz> Newsgroups: gmane.lisp.guile.bugs Subject: bug#72373: srfi-64: test-assert evaluates test-name multiple times Date: Tue, 30 Jul 2024 21:51:56 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27588"; mail-complaints-to="usenet@ciao.gmane.io" To: 72373@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Jul 30 21:54:25 2024 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sYsvR-00074X-Cx for guile-bugs@m.gmane-mx.org; Tue, 30 Jul 2024 21:54:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYsu1-00051s-4u; Tue, 30 Jul 2024 15:52:57 -0400 Original-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 1sYstz-00050s-CT for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sYstz-0006yF-2e for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=qV5FS7/ITTPvsspu+2CpMOx5nFrZT+jx2AgvgFSJpxw=; b=IPeyeuF7MGKOscJWsqMhzm5Xbi+Sns32E1mbsqbwqBkgAYHhRmYOa0CiinN7NX09m3z8SeK8jP0JwPPyqNDl7tFxs+AupE99rUXXwsPl9++TkD793LmW4ytKs9hCZQRhI5DUQkXlAZHfBDrfzrlTYNeobDgx9+7oH/kwiIocaPBJwUyK3Xi40XX422DOR9CNpRgGNd43YlwApkIJPAF9cPRDVdqJ2C2MWgXUoy/ouAYrS45l/qUBZsCTeB4srrb1hAkAFsiISdj7apRaxar9AHg67tK03nNdx72ya1xpVsiBBDQStm7mDyDWG9WxuhHexM1vsw0u15O06R5xDjtY+Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYsuD-0006dV-Fy for bug-guile@gnu.org; Tue, 30 Jul 2024 15:53:09 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 30 Jul 2024 19:53:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72373 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172236914925219 (code B ref -1); Tue, 30 Jul 2024 19:53:09 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2024 19:52:29 +0000 Original-Received: from localhost ([127.0.0.1]:48473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYstY-0006YS-Ln for submit@debbugs.gnu.org; Tue, 30 Jul 2024 15:52:29 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sYstO-0006X9-1r for submit@debbugs.gnu.org; Tue, 30 Jul 2024 15:52:18 -0400 Original-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 <~@wolfsden.cz>) id 1sYst9-0004t0-8L for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:03 -0400 Original-Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sYst7-0006rs-Dl for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:02 -0400 Original-Received: by wolfsden.cz (Postfix, from userid 104) id 5CAD829321B; Tue, 30 Jul 2024 19:51:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1722369117; bh=/z18PkVzCGFbwtRne5XyEZKR7bmIgrxARcwCtOgRL7c=; h=Date:From:To:Subject; b=SaSol66kn3lNOlUR48rz6WhYB5LJhKgvUZOV4HISWQ7OKdhAM0MnHyEGVv6C5GO5W XL89rkb/cg9xEIrlIf69cbTRlkPzm56WUwKQ7Kxjazv1BmY1SwK/NoT5sdQimSDU95 gfFka7+CHopTs9zNInIllC7FULt4FjxEyE5BWauT3zY0JvIUW/pG8ZGQclvixDb+ke BsbvTprmP9lwj/mkgAs4b9BVZelbYSG30vFLMAmImke9GBvE8vGC2pD9sk6bgnulD5 runzQUJaElFAC2HHGiuzv7l8bPlogH5nsZfnVahGNGzBtXIA0QjRXXDU6GZR8Y6WXl 6ADObzxRV5X/jcjH5c7Ei9Vp0zXxF8W9QFUF4yqAEzm4LdNZHai0akzNTeyIcKyLIb 51FVH2G/92HnoiwJq1uhxOmy0rmWJW7fkfZXZ13SNIpY+qrkRWc75llHL5rRDfL8Um ngPmKoAEnLj/7ek1s4adywbBNSSOyDWRdc9eb343JP3qwVMTRxA3OUUOhQraCncWcV BYt6zxeBem4t4QD+kLlUxkGUoJFokXhp8z3yUHpt/JzZtDQzzNIiMVAobVDdHeJEFl 73mSAZ0OFLpti2BwKCuRZtsOQrcaLxdwuYAKhMYTy48CPkx2SGruvSB4Nfq2+Npoq8 16dtKuAE7As8hGiKRdIeOjY0= Original-Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 8F57029147E for ; Tue, 30 Jul 2024 19:51:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1722369116; bh=/z18PkVzCGFbwtRne5XyEZKR7bmIgrxARcwCtOgRL7c=; h=Date:From:To:Subject; b=rNC7XQf6/124UotG1cYGaDP3kEP1zz/ykk7fDqEgCA4hCR7Th5C6R4HeRizkxIzTJ IrcFm6//xrTFDbPwX2UOr3WE6PuCd8PtlLoZr/BPIaYg2YPnSF6ZXZ9ACdkDk/m+Tl McnHiJ+C83r0bcfhytZY3wL8UXQExzeRWwKLuzLyzUFPeQ9qsHffg16yABborNBHbZ SjGBh5ZPYqAYF/pc39dDcXSl4yfMfoH+0xXcnAFnoC/C48/CPYjSL6h+9nxi/mDV2G uEElqL2ipoetoc8zt64Co3mU7sWDM6mxaXQRtnMTM14LE3wNRZdtjaPoCQNM8qR95g g2Tc2j481tsht4O8mjUlstPcT7hzXLkdKTACTLnesmG4+aVSGWf+5ntK1z5z4f1x2y SKPPjiVUq35gxyJAs1f+MRLWHRMn5x5JuLWPUQV9qpbFR2JS+fl7Zue9eIjm0P8na5 KE1MI8MNcEKz8gHW7uYpTDlqrAx9g1CTzaCwjKPW7a4usOMHqj4h7M2T0WSUNGwmd3 MYGcrEux1T4EoXGOcg8hZYwQ9EFlgHBhfcjkmYZHpt4t/mrAPmT8/Cuvkwox3450R9 uYabrZanLht+vSbmW9wBGCfkKUp6+2A88jjvKEURlMgB6ekeAZZDARMUp91WiIY0Yp jQPSMQssXXQXfAV3OZK8jnds= Content-Disposition: inline Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10931 Archived-At: Hello, I think I found a bug in (srfi srfi-64) module shipped with GNU Guile. The specification says the following regarding the test-assert: > Though the test-name is a string literal in the examples, it is an > expression. It is evaluated only once. However the test-name is evaluated multiple times: (use-modules (srfi srfi-64)) (test-begin "x") (test-assert (pk "t") #t) Leading to: ;;; ("t") ;;; ("t") Have a nice day Tomas Volf