From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Taylan Kammer Newsgroups: gmane.lisp.guile.bugs Subject: bug#72373: srfi-64: test-assert evaluates test-name multiple times Date: Wed, 2 Oct 2024 00:01:37 +0200 Message-ID: <08fa8afc-9405-4594-9709-6f560cc52ecb@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33872"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: Tomas Volf <~@wolfsden.cz>, 72373@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Oct 02 00:03:38 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 1svky2-0008ep-0n for guile-bugs@m.gmane-mx.org; Wed, 02 Oct 2024 00:03:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svkxX-0003tz-Tm; Tue, 01 Oct 2024 18:03:07 -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 1svkxT-0003tP-K3 for bug-guile@gnu.org; Tue, 01 Oct 2024 18:03:03 -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 1svkxT-0001H3-BR for bug-guile@gnu.org; Tue, 01 Oct 2024 18:03:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=64Qn5OHZ3Ll45RlSM77TeHdoUkXau4f0l9xXedUCepU=; b=BhFZmP3LFSy8k3kkgAE8mU6+arAHylM7c/gqK3fXKLqf7/Rd/+27tLs/LJH/DBwDBI16laFCkGkPasGpsGsUMz2OfrnVVpuvIlGyf9DcVMCi7awyBkGvkc1Cn6s++knfk91gHCHdcDSmwIz61cMK/yVv7QxmVKOxl6dBwynMDSPE8E4WSW/wmE8GcgwXLbvZ9hk8K1oDJ3znpTmsopDeAC5eyydlEYmagxFM1ULExT6f7IJkrctqnu9p9QV3p/PktQNsv1GdgyyiS6GbsGO4om4PnQKT084ao/eIuZyt/W6scdxaU6mxdMSvQBZGcr50F1hwSMfIV2Tzw89WycrziQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1svkxS-000571-GR for bug-guile@gnu.org; Tue, 01 Oct 2024 18:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Taylan Kammer Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 01 Oct 2024 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72373 X-GNU-PR-Package: guile Original-Received: via spool by 72373-submit@debbugs.gnu.org id=B72373.172782016619625 (code B ref 72373); Tue, 01 Oct 2024 22:03:02 +0000 Original-Received: (at 72373) by debbugs.gnu.org; 1 Oct 2024 22:02:46 +0000 Original-Received: from localhost ([127.0.0.1]:53951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svkxB-00056T-VL for submit@debbugs.gnu.org; Tue, 01 Oct 2024 18:02:46 -0400 Original-Received: from mail-wm1-f43.google.com ([209.85.128.43]:40736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svkx6-00056L-5B for 72373@debbugs.gnu.org; Tue, 01 Oct 2024 18:02:44 -0400 Original-Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-42cb3c6c353so8031955e9.3 for <72373@debbugs.gnu.org>; Tue, 01 Oct 2024 15:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727820100; x=1728424900; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=64Qn5OHZ3Ll45RlSM77TeHdoUkXau4f0l9xXedUCepU=; b=f/vTuhi1QaXZKBpd+t7fT2DQmvE59inU7PvQSivvrDpw+tu1+rfM4UAjGjovmXvDM2 yl+JoW0Fjthj4oA1gdIILaOC2wy3KNFcRoVDvr8LtAfjWYzlv5x9xmE8Htsq13Uw4smf t/+O6I1TFhn26t/8epn1NHAtwXWtVy1UE/YBYXeFbUi0/KH84zkiL7uJpTXuq+166tAU CTEXmvYdimdkcyYhaI7ETJzH4EA2sI6P25fZV6hAe8tv2TdCq6ShNSHlRTe8i/AQo93p BCX1p5G2EfnytrOQgzKRHc45qigfc6+/dBdzJs1u42c2iXi7gJJdYycih24Efr08gRR4 FgUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727820100; x=1728424900; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=64Qn5OHZ3Ll45RlSM77TeHdoUkXau4f0l9xXedUCepU=; b=dqBZDfWsa9to8NDC5pu5ETGs9F91wJnpMvkhyV5BFBHQgpTTGSbQ+LC7nWB0CykL8N zUb2Az01d09Ag28xqu/R3S6s2Nr+1PMyN+1cinKUDyhQIZ8m0+DzvadW8a7kVr+74Jdm uUVOdGb5lsIuF4hQloK54Z+gXLc4zJtSOufRbb+iPJKZjDK9a0U2U2qeNySN4AFa9uly +HFkvWvqy29gyqzfo24oWswErLa2ul9FfvV5D7gcnF/EqrCCapkvSkD2Bi8qhKfpbmnW tKqAR9txfZy+3yGT+L/T9tWHjsehxLlqExOGo/3MO78rFGJa2kjYSOLeQLnwyvfGJQtH DS+Q== X-Forwarded-Encrypted: i=1; AJvYcCV0j8EAzQv0yemVhxm/0iXnMjNmQo1NqvXNjO8uNAWgu/hFInk+ZooJAx0N4aHWwDQ/JxO+Og==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyJ0UNqItiyEYC9A1AMPrXGiOZeEQzvnDn5+cyKTQ4ckZIZvUca G9LuJlEY44ThjqX9/vgVHpXqrcSN/XlJWvNrbPrkUzUmqJcTo7qRbsdqbWo2 X-Google-Smtp-Source: AGHT+IFrAVhnelo6qyGEds205Uzwc8Z21Rxxkkj3QVDmy2aGVu9UkzqXTYL+Ivb6fcaSwZsD5PzPSg== X-Received: by 2002:a05:600c:3509:b0:42c:ba6c:d9b1 with SMTP id 5b1f17b1804b1-42f777ed465mr2924965e9.4.1727820099419; Tue, 01 Oct 2024 15:01:39 -0700 (PDT) Original-Received: from ?IPV6:2003:106:8f04:c300:95ac:529d:6db3:196b? (p200301068f04c30095ac529d6db3196b.dip0.t-ipconnect.de. [2003:106:8f04:c300:95ac:529d:6db3:196b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42f79eacba2sm1538365e9.14.2024.10.01.15.01.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Oct 2024 15:01:39 -0700 (PDT) Content-Language: en-US In-Reply-To: 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:11004 Archived-At: On 30.07.2024 21:51, Tomas Volf wrote: > 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 > > Exact same story as with the previous bug report regarding `test-approximate`. This time the affected line is 755. (Need to change `tname` to `name`.) And likewise, already fixed in my implementation. - Taylan