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#72378: srfi-64: top-level test-group does not work Date: Tue, 30 Jul 2024 21:51:58 +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="27081"; mail-complaints-to="usenet@ciao.gmane.io" To: 72378@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Jul 30 21:54:16 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 1sYsvF-0006sC-SI for guile-bugs@m.gmane-mx.org; Tue, 30 Jul 2024 21:54:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYsu4-00054N-OE; Tue, 30 Jul 2024 15:53:00 -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 1sYsu3-00053a-QU for bug-guile@gnu.org; Tue, 30 Jul 2024 15:53:00 -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 1sYsu3-0006yu-Ff for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:59 -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=4pPGm24sWZntobCm36ato2pZ821tnAbqmgkZkCw4fLc=; b=nZ1v1yTmtMNIJb0hoOVtIi3cT+lvQu1jv/Vaj5DkR0pKcgrLq6kGot44NVvcGNwzo04v0xPB1sy5DzjoJNzu3kmINvA5/RzbPNvjx18ySi1m8J68ADCxxnTsZ1dkk1zJaOxP4VLQh0/Moy8SCqukitRvk3SX+YXW9LAdEKt4flJwcJavCHDBD+qL6Zjn3cnSS7b6euuesNqSKYRGMSJnJS66rm/AcVk7zn3mXvvGOU7Npu++XRp2fvTcENTbDwdfKaUfwC/8wzNr0GMESIPY18msm92QuZ/r1eFnbVtjKy8lbwG2Jmp2QzACRLx4xJZ5FJLCyTmlNioPv164z1bVzw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYsuH-0006ej-Vg for bug-guile@gnu.org; Tue, 30 Jul 2024 15:53:14 -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:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72378 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172236916825323 (code B ref -1); Tue, 30 Jul 2024 19:53:13 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2024 19:52:48 +0000 Original-Received: from localhost ([127.0.0.1]:48510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYsts-0006aH-0E for submit@debbugs.gnu.org; Tue, 30 Jul 2024 15:52:48 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sYstZ-0006Yo-C0 for submit@debbugs.gnu.org; Tue, 30 Jul 2024 15:52:30 -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 1sYstK-0004vs-Id for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:14 -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 1sYstI-0006sa-UJ for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:14 -0400 Original-Received: by wolfsden.cz (Postfix, from userid 104) id 32ABB2936DB; Tue, 30 Jul 2024 19:51:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1722369119; bh=e1IXl8VqLp0H827Urp3Cn31dg/s1Ahkg52jbQ7RQbUQ=; h=Date:From:To:Subject; b=mqmHME3GfPtbMCHGrcS3FC7Zwm8HChJQAPzMxmbQsDIM0VS3n/J/sFntgIc2tZVXY WVKmiypwshSSiN+9T5s6w7CRW9Njnl2zul22b7PO7jT7iHjwUD/o9niK0fpSAx2V69 0zb4Wf8UaJQ2gA1Uw/QK0RJPWTxnGkftFX9pNApUrLQpKlF6FkEk6UD791kS0ajGnJ hgspIqmk+LZvJW8U8WzL+pU9rfRGbJAKKNynLFWwItEpdsR0KyN4PndUAX84D6adHf 2RWizUE5jn93Yt4hSBT3NVdIfuVcJaKIv7bScF1QNXV4+f1m0aYF346/6n0gmCr8sM pSkD+BTJq0dYhLktxa0kytjtTV21mG8kPdKkg1TOiP9Y+kvJoUt7qkJAhNnyIgGD0a sl1M5Gg0zD7+XSmFvATsYyy6zgU3scTudbbiy4VO/OKuxdneYucGwN6iv3+1H/lic4 h3I8akmbiGX9u+8G34NkqaMB2zOoe78Bv8s0xPTrgbq6o9YOYAU6/mfmwzH1UW5Hcg dman+uMfMDttwO7uTcJTS1PVSJekAObndVktcXcYsz8422z4Fu0B9mSndQUqxCIazE 2HsK+QvxIHv4oVTNx7nB5qWEBJPuq28o2DFicVl+19CtUEPkUurnGx54cdeSCDbwud T0oefCxllrv0Kul7c6nLYtKc= Original-Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id DCEC8293598 for ; Tue, 30 Jul 2024 19:51:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1722369118; bh=e1IXl8VqLp0H827Urp3Cn31dg/s1Ahkg52jbQ7RQbUQ=; h=Date:From:To:Subject; b=LcAa4p24xAsm1bhS3jmYpJDyXXqQ6C8HS4a5fG6tLLPAchd1SpSpQ1SevxVHxN20J VuMjAaDRPV0Fvo9FEOTF8dOo7I2jnYwfn/x25Map+pJwJZUctFQpq+ddnf5p7ZrviL a/25y+3ffti5gUfRL+cNgQEemVVFdmsKLSG2xU8PUHfokDktKEkK7KR1098R2AyCwF ZcEoXbKCaax4oF4HK+2tgueZsQ3d7+gtRO2Wpdt8SzTSvXTByTw//hrRT97rk6Rq+m 2ShYziFaQ89I8E2GSvI3t15qxANjWraDo2RLIyGWqIBa8WkcCwoaLrcXJEHeEg3wtz mqGzEIhC9Rxo3V3NjxwHYttH84ia2l1xI8zwq0Z6qC9Sg29Md90PhvVlP1qR4iF2lU VlHu7kNMt4b2Auw0MAgIlQQlBN1TWPyuHzPPR8G6UJws7fSXRLXds5yKvCFFcZGcfW QpU02agRWD/kcr2n1InBvnMMLCXnieR1d+oMI+Z5Ml1nqtVARV3BRe+2Wb3jFyEqhx Omw1OLKRBo23Lu+yYhyU2ZJGf6shF0QvA6kDO6Qc8Gus58zQ26zKJZmBwJWOc8CfGP 2nXJX7GeHEw/1czW43J4TV3PrX30GO7fbCOzDLGFJ0Q5HxgTo1ncgpgxOTzWlsLsNo JDrdPvEQ+raEU98lD0hpHQZk= 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:10926 Archived-At: Hello, I think I found a bug in (srfi srfi-64) module shipped with GNU Guile. The test-group is defined as equivalent to: (if (not (test-to-skip% suite-name)) (dynamic-wind (lambda () (test-begin suite-name)) (lambda () decl-or-expr ...) (lambda () (test-end suite-name)))) `test-to-skip%' is not defined anywhere (great), however in the text we have this sentence: > However, the entire group is skipped if it matched an active test-skip Since active skip list is mandated to be a property of test runner, in case the test runner does not exist yet, there cannot be active skip list. Hence the group should run. However: (use-modules (srfi srfi-64)) (test-group "x" #t) Leads to: Backtrace: In ice-9/boot-9.scm: 1752:10 6 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 5 (apply-smob/0 #) In ice-9/boot-9.scm: 724:2 4 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 3 (_ #(#(#))) In ice-9/boot-9.scm: 2836:4 2 (save-module-excursion _) 4388:12 1 (_) In /home/wolf/src/guile-wolfsden/tests/srfi-64/test-group-top-level.srfi64test: 8:0 0 (_) /home/wolf/src/guile-wolfsden/tests/srfi-64/test-group-top-level.srfi64test:8:0: In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f Have a nice day Tomas Volf