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#72365: srfi-64: test-on-bad-end-name-simple is not allowed to raise an exception Date: Tue, 30 Jul 2024 21:51:53 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23679"; mail-complaints-to="usenet@ciao.gmane.io" To: 72365@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Jul 30 21:53:27 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 1sYsuS-0005uG-FP for guile-bugs@m.gmane-mx.org; Tue, 30 Jul 2024 21:53:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYstt-0004yC-Bi; Tue, 30 Jul 2024 15:52:49 -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 1sYsts-0004y0-14 for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:48 -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 1sYstr-0006xF-Nk for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:47 -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=b1bFF2JTJ/uWg/DmFIPzp4ysphtGhM/CSe6vvpLlYzk=; b=nwpLvSsj7/DzFsY7x15sU/hdhsg0sBLgf4FZqnvluGfq08StYGEb7oZKdoc2kmkOhrEVAkxjmTIbQ1Sb6TSKia6lgnRCzfYF0s8kx1InbdiXOOPAqma7dLWLkwqo0trRiJXcx8fraYVsujTHKqQOa3GGezZdufRp1S3Qbrt5wIIXWaFqaH5p/058AYeAPCavvX6DUoFEbopwui2TfxfPpRe1dZIYq9AvEg4BxxOVQ+Lsj6stwn1VdA9JPCGn5PdT2EGrLrH/gihL74iwLn8e8i5amnLrxl0zaaKS1D+9qTGJwty0eztnMcbetxahlAHawvgZ9VK/k6P7HWxfYMBRVg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYsu6-0006bY-6Y for bug-guile@gnu.org; Tue, 30 Jul 2024 15:53:02 -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:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72365 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172236913625089 (code B ref -1); Tue, 30 Jul 2024 19:53:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2024 19:52:16 +0000 Original-Received: from localhost ([127.0.0.1]:48439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYstL-0006WP-SZ for submit@debbugs.gnu.org; Tue, 30 Jul 2024 15:52:16 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sYstK-0006W3-7v for submit@debbugs.gnu.org; Tue, 30 Jul 2024 15:52:14 -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 1sYst5-0004sA-F3 for bug-guile@gnu.org; Tue, 30 Jul 2024 15:51:59 -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 1sYst3-0006qt-Jc for bug-guile@gnu.org; Tue, 30 Jul 2024 15:51:59 -0400 Original-Received: by wolfsden.cz (Postfix, from userid 104) id 4FC6F293A03; Tue, 30 Jul 2024 19:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1722369114; bh=Rk+PjAdvs9EYE3YzEBaw+hD4bUkaydAwMqfPnwaip5I=; h=Date:From:To:Subject; b=UzRmm4hHUfYZa/AHCgA3e/JZTs+7HT4OGYhBQddBxwbMKXRUogzyGfguc1ePUWpsF gvNxMithrzO1iynJkhbg21r79QEU9Ctthf5i0yRoF76bjaGPATnu3YOgS9NZsa8nIu Vfu/kivNXECtTSyuBf/WRsZozUw7P8xeS2cdrG7BINJinYOAz4pAV7nm+fSpZjgoLu JFGxZkjy+JeOEeUz0Vc0EjPOslWrUshZGS26IwiINR6BUfi2SRe1dSOqP+/eCTMc1O 56lxbPbW3xHu4vDNeE8pYoqzqfPI+dcsnbsp12a5wi5uJV4Tz9lJuzmL5Hyr1v3b6D qiSgbHWOZXAASoPd/uuHjW914ry5Wagppr4liLnuxRT8d+9MGvUylRkl/mp1A1jYaI RY2Kw+X9IDVsnUfsabji5pWqyWSjj9SGljFPxOPO5Tq32/n1UFZ6aqRu7qFP9ly3oP 12DFQpmPgviLIeU9+6rFYkIQnkR7Ft/ss/Ae44dyrhlQGFuSzhZ6Jg1pHB5khRCWIW Q4Waoo4iZbQ1gqpnPPoU5tHFl3grfyZmuffjNO6kT34Jh2zvApU/EvZ+1EGZx/xtSp oyx3oOH6miDiIZzaCb3oxvmX+HTVQ2gfEmsob6CwWBjcJYUQPdstFy7pY4//IAn137 OmOwYIYT9oJfikJYI/sLU9HA= Original-Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 147512916BA for ; Tue, 30 Jul 2024 19:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1722369114; bh=Rk+PjAdvs9EYE3YzEBaw+hD4bUkaydAwMqfPnwaip5I=; h=Date:From:To:Subject; b=UzRmm4hHUfYZa/AHCgA3e/JZTs+7HT4OGYhBQddBxwbMKXRUogzyGfguc1ePUWpsF gvNxMithrzO1iynJkhbg21r79QEU9Ctthf5i0yRoF76bjaGPATnu3YOgS9NZsa8nIu Vfu/kivNXECtTSyuBf/WRsZozUw7P8xeS2cdrG7BINJinYOAz4pAV7nm+fSpZjgoLu JFGxZkjy+JeOEeUz0Vc0EjPOslWrUshZGS26IwiINR6BUfi2SRe1dSOqP+/eCTMc1O 56lxbPbW3xHu4vDNeE8pYoqzqfPI+dcsnbsp12a5wi5uJV4Tz9lJuzmL5Hyr1v3b6D qiSgbHWOZXAASoPd/uuHjW914ry5Wagppr4liLnuxRT8d+9MGvUylRkl/mp1A1jYaI RY2Kw+X9IDVsnUfsabji5pWqyWSjj9SGljFPxOPO5Tq32/n1UFZ6aqRu7qFP9ly3oP 12DFQpmPgviLIeU9+6rFYkIQnkR7Ft/ss/Ae44dyrhlQGFuSzhZ6Jg1pHB5khRCWIW Q4Waoo4iZbQ1gqpnPPoU5tHFl3grfyZmuffjNO6kT34Jh2zvApU/EvZ+1EGZx/xtSp oyx3oOH6miDiIZzaCb3oxvmX+HTVQ2gfEmsob6CwWBjcJYUQPdstFy7pY4//IAn137 OmOwYIYT9oJfikJYI/sLU9HA= 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:10916 Archived-At: Hello, I think I found a bug in (srfi srfi-64) module shipped with GNU Guile. The specification says the following about the simple test runner: > Creates a new simple test-runner, that prints errors and a summary on the > standard output port. It does not mention that it can signal errors, so I believe the following should just print to the terminal: (use-modules (srfi srfi-64)) (test-on-bad-end-name-simple (test-runner-null) "x" "y") However is signals an error instead: 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 ("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 srfi/srfi-64/testing.scm: 375:14 0 (test-on-bad-end-name-simple _ _ _) srfi/srfi-64/testing.scm:375:14: In procedure test-on-bad-end-name-simple: test-end x does not match test-begin y Have a nice day Tomas Volf