From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UFKoN6fSQGbG3wAAe85BDQ:P1 (envelope-from ) for ; Sun, 12 May 2024 16:31:04 +0200 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 UFKoN6fSQGbG3wAAe85BDQ (envelope-from ) for ; Sun, 12 May 2024 16:31:04 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=DkMca8cG; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=Ze5r7CYX; dmarc=pass (policy=none) header.from=maniero.me; arc=pass ("mailchannels.net:s=arc-2022:i=1"); spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Seal: i=2; s=key1; d=johnnyrichard.com; t=1715524263; a=rsa-sha256; cv=pass; b=weg0EbfPQ5qZU3y7AxbnUcqKGRAzFS8eYKfJcV0ZahsC7YgvI3r+95kHmOOnOaNyvytJGC PEuqwdWtkvMLQ1r3x3YPKj2O+dluQNbVWfX/vjNz8nJtxj3Y41hFxu6WH3DaT17Rl54R9d FOJVPR0vuYe0FI1JiOLJYHski3HCsztegLd5bOx0B6Nx3PlRTzbvFwnk6BLb9rL2YYayN+ Z15LedKu5mwOt1liS/R7yp1Rq7GjLnc6f5dDuXJAao1oQhKr9eY0vmXWfDuIAukGxOCVG7 lo+MFHQ4xmRnfNybnZL8LEJ9ds0ilj3dXvrZLV/uomfnZAHqYoOYnm8+q4j+Qw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=DkMca8cG; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=Ze5r7CYX; dmarc=pass (policy=none) header.from=maniero.me; arc=pass ("mailchannels.net:s=arc-2022:i=1"); spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1715524263; 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=rMfREzEHvNmcg89YY22ybuNGaW8e6stal8b14Rbv9zU=; b=iHH+8vWAkqKC2k/ObUYnUyNhT4KC9sXprCNSxKPBP7mpZDlPzhx7ZO48GGD1C5BCIgcgBX QtWqaSSGNFhQeXO55NX8rjWGSCbu9buLl+Sqjkl3OWcgi5wBfmnzgSeRpQ2y8PvZ+Z3VRM gGqcj1SPlZQNxt6NWPMxCcV/TDrpjMjOSCtwZWSHBkYmOw0x1RWRxTKU/lLHN1Op1ksjau 98VK7f86NeR45Nt2/Dv//tep2Ddiw6IXpK3pnVDGaRoTdCnKNoPspCI2oScWHuwSmzK/bl FaAo9SjIsQVzp1H3IvdlQtDg46hrtNxVHCPzLu5a13rMNccDRtWu988enVXOBA== 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 91F3227248 for ; Sun, 12 May 2024 16:31:03 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=3k7o++q28k9O5a14XhZvh/8H94v7wejoAlNhBwPAuYw=; 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=1715524263; v=1; b=DkMca8cGWdKBDUAtHWtSe1tlf6+LNZW4RNxMo3/Zgh4AP7TCfnUZ7IqBmes/Ykk3KwKNGOBW JFgHz4xs1XCT+CevoEPQ65ZBTWiZeI/5yBmp4WnJ1RH/j5vwNcUDSo+s2acyBounMi5ERoz5GSn 956UjG7GexL2ksfpqf84dbGpEGNReVGkig5gCdUFYk1wDSvXxyt5i9/7RJTrcU5SZtV88+SMe0e PRIJLRE7BClM1JYVBAJufIAaKoYs5oduANLyNLzqrTsRmSZj4AZSa+GfcR2YMpxWGIzBUSpNEgv fGfB6TO+3izawfWdcimJ71BmyvvAN+2jgcNUX0t7MO2qQ== Received: from lists.sr.ht (unknown [IPv6:2a03:6000:1813:1337::154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 286672013E for ; Sun, 12 May 2024 14:31:03 +0000 (UTC) Received: from dragonfly.birch.relay.mailchannels.net (dragonfly.birch.relay.mailchannels.net [23.83.209.51]) by mail-a.sr.ht (Postfix) with ESMTPS id 1536120119 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sun, 12 May 2024 14:31:01 +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 3C7D582870 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sun, 12 May 2024 14:30:56 +0000 (UTC) Received: from nl-srv-smtpout1.hostinger.io (unknown [127.0.0.6]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id A4ACE8283B for <~johnnyrichard/olang-devel@lists.sr.ht>; Sun, 12 May 2024 14:30:55 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1715524255; a=rsa-sha256; cv=none; b=h2MKwsG3pWfGtZ2ASVoYWPvg1WP4lu+A+QH4blEjNm6kcnYsoUSx3ku4ql1Te4W8jAm3pC jACuYsGb6pr8mmnAlsXhK5Cx/pYwSX1WBr9PbJidU5k/PCT+qOseZw5TupG42UmzM1doJP 981c56bLZzN5HWeJ8+htxgRIHbl/6L4dtzGQXO8wB/2+oA/C38tmBcoWdNJmXmQ+hsO689 CgQjJ3wn1vMnfOEP/TuE+/epv/BBwjQihZPtOtRyqRwDgfDqze0vwYA0+528tM1ba+JOWb F4uZJrVR6r28O55pNXoWxCLscLGV8pktNlKAyExdw8yr0MnDaeBYfkDU/NlLzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1715524255; 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=rMfREzEHvNmcg89YY22ybuNGaW8e6stal8b14Rbv9zU=; b=VvCDzBIlJ5dNhxzo/YdIvJJ4Zrel8siEgFHQib2SplxgrZHHTpSBbrzFed7urIOQcRPAgU VJUzGttU6IAtnj/MXRDO06hFFYbh/9hta8y2WnVbjau04pIgN1nIZ8OOP5+GuI7ZlhNGsJ zdmgmje1VOt0FbHwODTK2Ya23e4fvBR3u4+v8fCAJ+wXjwm1m/JKRJCLghQKKOeI/Pwsil NflWxC4gFgxMjQW2mLtCZRrQZbIZL9HdlKbr6tH/iw8Cw9YIiqW2SGQymhVa2HhmeIwrpP 2VsNfJjFefkLFUCTlS+QW0aBqoT/7qeSSmhVNLOAQ+wL+L+8esTpGupfFnk/Gw== ARC-Authentication-Results: i=1; rspamd-5d55749bb4-8ql8m; 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-Spicy-White: 585942bb62e628ef_1715524256146_1747835778 X-MC-Loop-Signature: 1715524256146:2261821240 X-MC-Ingress-Time: 1715524256146 Received: from nl-srv-smtpout1.hostinger.io (nl-srv-smtpout1.hostinger.io [145.14.150.87]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.124.123.83 (trex/6.9.2); Sun, 12 May 2024 14:30:56 +0000 From: Carlos Maniero DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1715524254; 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=rMfREzEHvNmcg89YY22ybuNGaW8e6stal8b14Rbv9zU=; b=Ze5r7CYXkEDleHRa1MKwdz9GJSTcY3If9owY6HV/rEfmnOCbIV3UolOBFFiTDZWu+65Hh9 ahJHO2/wIB0v2l3l2nqBk9WrVJVWfiVxJjNBy5gwrlUhxosS4stFbdDoNdeC1mNlFuaTvz Yky8UnulxzqVYPfxMaQcPXgvgZK772JsMzowZOCeyyBYnb8T9A/uNZGWrWFKkZBtJwPAU4 aP0hSuedoZkUfawCzcwZmJDvoCk+oHKRyd4tomSebSj3a5rs8YyEP6gMHL5MavYwEwT9mU mzis7xvQNo53ZsKoWU8Zvk1lL6z2qlPX5kfUcYpsgLw3R43TXfQXsJZD9bHnMw== To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Carlos Maniero Subject: [PATCH olang 4/4] tests: print integration tests TODOs Date: Sun, 12 May 2024 11:30:33 -0300 Message-Id: <20240512143033.229961-5-carlos@maniero.me> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240512143033.229961-1-carlos@maniero.me> References: <20240512143033.229961-1-carlos@maniero.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-Analysis: v=2.4 cv=WIUtXWsR c=1 sm=1 tr=0 ts=6640d29e a=WwxFCuf3mf1fs3oSi6/dng==:117 a=WwxFCuf3mf1fs3oSi6/dng==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=IUkNwDo_W05cDhX3BJYA:9 a=BXDaF_L80NY05PYiAFlV:22 X-CM-Envelope: MS4xfJIrEnlIvzxrIpcEihitfyq81Qbbpb72jP1vc4AsrTDStM7RVO/eezK9Zd1NiikfJV2z0WSqZnuGGCg2lynGD+zyNmP6k6xYaW+YX5ikWlKquCKAjJkM Q2jOomYn7t6XTNThvMOWHoT87GEsf8jhf7o1vP4sGJ22EvdE0XLPmo268quQAUPhxQ6ycIcNLbD8aUNMfo/XhN2c6d46JU51Ic3HLx1D7fkQLg79LQfoOK3B X-AuthUser: carlos@maniero.me X-Sourcehut-Patchset-Status: PROPOSED 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-Queue-Id: 91F3227248 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.12 X-Spam-Score: -10.12 X-TUID: qbl46yUudsWG Sometimes people use to ask how to contribute with olang. This is a great way to help them, we can just create TODOS on the integration tests as we already have some parts of the language specified. Signed-off-by: Carlos Maniero --- tests/integration/test.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/integration/test.sh b/tests/integration/test.sh index 9fdabef..c8535a7 100755 --- a/tests/integration/test.sh +++ b/tests/integration/test.sh @@ -56,6 +56,14 @@ print_test_description() { printf "\n\n" } +print_todo() { + TODOS=$(extract_comment TODO) + + if [ -n "$TODOS" ]; then + colored "TODO: $(extract_comment TODO)\n\n" $COLOR_YELLOW + fi +} + print_passed() { context="$1" printf "%s: " "$context" @@ -174,6 +182,7 @@ test_program() { main() { print_test_description + print_todo test_compiler test_program -- 2.34.1