From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YMeQJH5M6mUJEgAAbAwnHQ (envelope-from ) for ; Fri, 08 Mar 2024 00:23:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eJQqHn5M6mXqbAEAe85BDQ (envelope-from ) for ; Fri, 08 Mar 2024 00:23:42 +0100 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b="DLqBuiJ/"; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=LfiHPxyH; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=none; arc=pass ("mailchannels.net:s=arc-2022:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1709853822; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=JfNDPnPuhCD+iz7x5A//LsyqD8CLdxIudfP3bCPCgFw=; b=SC+qKtGz2iGqcGSg6uXvxIZU1LWd+ZqiIfqAt13ptU76Uvd3eEfrBIsGV2IqOnZpI+yoQp VFQO9e14JqFF7zz/dMN3nVwjS17yLt7i3V9IqQX6zQMEMnw6UCpHigMefgQjrpeaoC6StR a4e/PRs/eZfpacPDTrPwwTgW0a4TngxKDOiayPXi1TM1YsBW2dK4+O0F8eH1DMDSPJh/q4 FT/MSWxFa3mFd+m1U99RrGUDSN9QnTvwuPzV0GPXnDZvmU3oSHHIt3ll/fQD5DRYjsN9OS r1Tf+nrxX8tj82G3UnesTA14VvOO7n6+pF9ANnlQfNw3jh3qjedrqXlgLQGl5g== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b="DLqBuiJ/"; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=LfiHPxyH; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=none; arc=pass ("mailchannels.net:s=arc-2022:i=1") ARC-Seal: i=2; s=key1; d=johnnyrichard.com; t=1709853822; a=rsa-sha256; cv=pass; b=sdk/3DGbEEWGspwQsrFl41mI3gWUQfShlusemqT8kXteIq0bl7mf8kN9gY4y5XIL2jmwH7 D2wi9lqGPQzFOYWpe9d+FQTTF9pz9xSZiTlF/QMU+b1AUmNSuDIl52tkp0WJymCXVkwHqV D72/HnDDVwNcTy3LbqCjDapdZ0tBdDktd7ZEBFM3ep83fsO0Myg95ZddEPoOo3egOgCCcM OLssKABBEdNhAoO7YYNr+ShYV3sHC3CsJ5Yj5APQlP90ncbu99V05ctLY4LzeLhiaHSB+P R8oHDJ0RJrfkchjpQWPbexSLaIVyh2LXjOn4wadOHgj3Uf/NTVRT/Xif0MZ1Hg== Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4F1A71732D for ; Fri, 8 Mar 2024 00:23:42 +0100 (CET) DKIM-Signature: a=rsa-sha256; bh=ejgX0bjDvwiRUyif9/WpPmwmRBazxigwWGyAvgBoANY=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1709853821; v=1; b=DLqBuiJ/fDnOMVL79t623hnT06JA2dieolabLWUY5M89UjXGl4/axX4gQiLVJABLVqS66jEx hCvXEizroOYYpZL6SFAOwOq6cdkZj/2TbwCtlR3Yrq0SElq3n9x5h7R/oF+1hj6nIM/0ir8zUno uG2VLvCVS3/TjmksLWC6fVkETX4YbxgRNkw3h3jxyPrPKMSNG2xYoyHDsA7Ld+Up/tOVASs57Ax Qfe54Wk1GH6TN/JXkOh8G8e6qNGvcfSguz1rAKgVgAItCDz32RjTzwpcY2gUVAl9j4dU5H26XY+ X0e10sTjESMPwyLpbPqexuMBNdDATTUXscJ0AarEWpumQ== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id C6E1620140 for ; Thu, 7 Mar 2024 23:23:41 +0000 (UTC) Received: from iguana.tulip.relay.mailchannels.net (iguana.tulip.relay.mailchannels.net [23.83.218.253]) by mail-a.sr.ht (Postfix) with ESMTPS id D5DDC200E0 for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 7 Mar 2024 23:23:40 +0000 (UTC) X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0B0A6C1CA6 for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 7 Mar 2024 23:23:39 +0000 (UTC) Received: from fr-int-smtpout5.hostinger.io (unknown [127.0.0.6]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 0365DC1867 for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 7 Mar 2024 23:23:37 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1709853818; a=rsa-sha256; cv=none; b=PC9+rvVB4M6Sf84Fs8eOMRcbX0gjV3A1ScDRNS/avLdOgdkB/cDTHWEhwPBDV3xA21Ahbz K1NU8/4/vPE8U2uILn2AqVO+D6FA/DUsfnCwUxZSdFU7N7OKwpwF3AfhUifwtqiOYCZV/8 vuJMeOUevmT0Qb/5/wcIx5kFuLBHsL8YSX7t2lIBcpjc0WRuqOp1Qhdx7fjBpXr/gqsL4Q HSVJP4rzTbCYpM45FIScnX1POb30fh/eVFGF4IfIBLkXh181YZF58/f2br7C+zBruUZL9j Cv8RHTuZv23RjbW09azgE4aEKhKXrY4OZi2cb9sCA9mzL5LpJVNmH3MQG+mA4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1709853818; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=JfNDPnPuhCD+iz7x5A//LsyqD8CLdxIudfP3bCPCgFw=; b=ritIsXTxDznOwcW39pjZjHcOn5HmevmVAe2wcmnjJAJee6I0iEn8mMCMI4qwcB2w/743Oe u4o5YXRIsxEe3s6eG+wTLk4flSEs4l9qSRfjL54AQIYzqcklLLq4mKkckchfQBF3n7RpNG 9crcPF1+h91tiOuXrHBe3thJ9lD7v5Lig40uUGhWE9puTztoSkbTB8GG++LzWiGtOZowbu 3dAazhcBT47u3uInyucDgtJe0N1vt5G47o2tKKtABhMQ7gisRbdjVotAqKjRr06oWpsTwp 0uqqpAZ17yWOmu5It0aKYIsNiiztiZrMyNCtV0yJ2DjyLd1zT+jFiL/2po3o5g== ARC-Authentication-Results: i=1; rspamd-5db57bc4b6-9ff2j; auth=pass smtp.auth=hostingeremail smtp.mailfrom=carlos@maniero.me X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me X-MC-Relay: Neutral X-MailChannels-SenderId: hostingeremail|x-authuser|carlos@maniero.me X-MailChannels-Auth-Id: hostingeremail X-Battle-Quick: 2aacb8df68afb697_1709853818726_3058374819 X-MC-Loop-Signature: 1709853818726:569273211 X-MC-Ingress-Time: 1709853818726 Received: from fr-int-smtpout5.hostinger.io ([UNAVAILABLE]. [89.116.146.168]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.123.27.51 (trex/6.9.2); Thu, 07 Mar 2024 23:23:38 +0000 From: Carlos Maniero DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1709853815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JfNDPnPuhCD+iz7x5A//LsyqD8CLdxIudfP3bCPCgFw=; b=LfiHPxyHYn901DhAf0rHeRQ2b28fUBOpaEiMI83EYCAQ6pdJBHzYMk8Dg5VUG0SfTkB020 ti6ZNLxtgQCZWoY3Y/p6UkLDaIjdfLhPl0BFMui7slSOeWqocOiYn//9Ew5diA21xc9i1j 1ymodST1ijOVfcw75dS/QmrXpEeWF+2MQG1KjOzSIG145nkPHZCiH8HKv4YRZDOQj79kld rt2J73C47DZK+0s2CmrNhvtB1SZMD36sRHedDuHPdp5VgQDhoXSk88WeNhpoU7FWum3GU/ jGmmLaediitE+ZnUcNopCHxq7+RBLVErcJ/qsJ1hxhZaEGnYN6d51lajB1yYJA== To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Carlos Maniero Subject: [PATCH olang 1/3] tests: fix: rename dump tokens test name Date: Thu, 7 Mar 2024 20:23:20 -0300 Message-Id: <20240307232322.2085290-2-carlos@maniero.me> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240307232322.2085290-1-carlos@maniero.me> References: <20240307232322.2085290-1-carlos@maniero.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-Analysis: v=2.4 cv=bpJKBlai c=1 sm=1 tr=0 ts=65ea4c77 a=5+VMC1FZ3J4mVPAKpPmAqg==:117 a=5+VMC1FZ3J4mVPAKpPmAqg==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=wsj2AbciLNfq2QVL5yQA:9 a=BXDaF_L80NY05PYiAFlV:22 X-CM-Envelope: MS4xfIWBVgtvAwPxd9wcC2HABP9xIGOn6aNugP/EPOt4/hK/lYFZgJHOparjJ4kVG2F5OyMM7UCRknbQgn5SNNew5s828A5qT+2dpMXGMX4A8J4hhsSqdBYo 9r1yMBoFkRok5RrLF19j/LkfkzcXpOpoxYdLje4q6rVlaUkGO+DBTjcFkKB8wYCQaoMxqGWWjDyUwtqruBhAUZqGV0rBT2QLOR/Wgep555/vZnbIdDUP9Vvj X-AuthUser: carlos@maniero.me X-Sourcehut-Patchset-Status: UNKNOWN List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Country: NL X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.54 X-Spam-Score: -9.54 X-Migadu-Queue-Id: 4F1A71732D X-TUID: r5j43OlaYk0/ The first integration test written was a placeholder to setup the tooling. The test content has changed when we introduced the dump tokens feature but its name remains the same. Signed-off-by: Carlos Maniero --- tests/integration/cli_test.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/integration/cli_test.c b/tests/integration/cli_test.c index cb1a7df..f7c7417 100644 --- a/tests/integration/cli_test.c +++ b/tests/integration/cli_test.c @@ -19,7 +19,7 @@ #include "munit.h" static MunitResult -test_cli_hello_file(const MunitParameter params[], void *user_data_or_fixture) +test_cli_dump_tokens(const MunitParameter params[], void *user_data_or_fixture) { cli_result_t compilation_result = cli_runner_compiler_dump_tokens("../../examples/main_exit.0"); munit_assert_int(compilation_result.exit_code, ==, 0); @@ -41,8 +41,10 @@ test_cli_hello_file(const MunitParameter params[], void *user_data_or_fixture) return MUNIT_OK; } -static MunitTest tests[] = { { "/test_cli_hello_file", test_cli_hello_file, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL }, - { NULL, NULL, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL } }; +static MunitTest tests[] = { + { "/test_cli_dump_tokens", test_cli_dump_tokens, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL }, + { NULL, NULL, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL } +}; static const MunitSuite suite = { "/cli_test", tests, NULL, 1, MUNIT_SUITE_OPTION_NONE }; -- 2.34.1