From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 IJvGCplE72bJVgAA62LTzQ:P1 (envelope-from ) for ; Sun, 22 Sep 2024 00:11:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IJvGCplE72bJVgAA62LTzQ (envelope-from ) for ; Sun, 22 Sep 2024 00:11:37 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; none 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 1EB281D4BB for ; Sun, 22 Sep 2024 00:11:37 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=2eFK8bEbmSMoOR8mjePtm1feqFBiceYuEY9Im5bg8Cw=; c=simple/simple; d=lists.sr.ht; h=Subject:From:To:References:In-Reply-To:Date:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1726956697; v=1; b=AXbuYi1p5amWaPDnPJL3Mvo1JYQHPMH99JwSkB2Ud3Nqbob6wOMFoM0/PAZzSrCJejATw7NP y/nYS0mOrmRBMsnsv0PCqsYVC0WrPZLuJ+SLBDDR5Dsa8Sd0TZcTIO74qV1tYMKN02T0/SlplTT rrfJt80nuwuCHdDB/BTXrwO4EySTXpkzBUpaFvykDAwU11JLRU2FGo/P2BN0BZlOQof3Gh9x0UX DBb/NQcm2g4VIRwyYeYr4UKfKnUqoXas+5GxJp31nqdguuf5+g2huww8LwBKzwt3i7PunqXZRbR 9WlqoZEHYZFQNp4JlIyB0XX0rRw+W4a4JoxbsYAyJxSBg== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id F024720159 for ; Sat, 21 Sep 2024 22:11:36 +0000 (UTC) Received: from fly.ash.relay.mailchannels.net (fly.ash.relay.mailchannels.net [23.83.222.61]) by mail-a.sr.ht (Postfix) with ESMTPS id D96632013D for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 21 Sep 2024 22:11:35 +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 300E4842E8C for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 21 Sep 2024 22:11:34 +0000 (UTC) Received: from uk-fast-smtpout10.hostinger.io (trex-4.trex.outbound.svc.cluster.local [100.99.101.147]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 66FFD842E25 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 21 Sep 2024 22:11:33 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1726956693; a=rsa-sha256; cv=none; b=KXbpGVkgHSxL4yH6ouStPWFTNnJKINDbS8FhJZR5hd+EWC3p2GK1kNP5mYeFYtlxLPnpjH /yY7J/zCFG8JtQFJPtX5/ZfBihmW81d52nxaVv2zI/H8gKgRpWQbv48mdku9ptIQKXETc1 19YwVKO6JWopMwOFLbBmfGUWV3RwJ+ktXaICotU3yQiijq/FUBM7Q9Gn7FDBBtJ4RpwL4x 568k5qtleNZb496JAKm8c5JFH641T3m//+9D81M43vq3xZ2Vmcd7Z3KN9TcIY/Hnp76pF6 PXsWS0efdwwdkpxcMJOHeDhMNubhShAKGd6iEYsJCyf3mBITvynm23QbpY8Grg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1726956693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=wV9uAS+0OPTKjuI401GS/fjzbNkO/joRQInCiVyOaKM=; b=eic7U9xuCOs/LIQZhmgvRHwWr0vaviuQPLRXXYaX/8UWlbfTXNfmFv/druJRkK5Mkrz6Iw YRU927qrYcxXwfELR4+jRsy+UgowS8mwzIJK5F5778NYOYw7/bevx6d+Tv9gW9QAO8vWV+ Lus/AVx+8iZmrQJM2Bgxg4x8pZipnEOpbTI48w35zzsUCstCQreJHU149ljl8A1gvtqkLg tyxJKrB1KTvDI3fNVY/11TSAa+ea95m1zJtRvJjmYdsWY6Ca+Nny9bHzr/aUnkGifN2Lny cf9rxk26XxIQ3zxpye6t5thj5BJ3a9ZDmI48Sw7d4Vdyz3EZDayMzLs9pr1u7g== ARC-Authentication-Results: i=1; rspamd-5b46bcd97f-svd8d; 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-Arch-Average: 13bc4c772b1273a7_1726956693922_1321100231 X-MC-Loop-Signature: 1726956693922:3068332879 X-MC-Ingress-Time: 1726956693922 Received: from uk-fast-smtpout10.hostinger.io (uk-fast-smtpout10.hostinger.io [145.14.155.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.99.101.147 (trex/7.0.2); Sat, 21 Sep 2024 22:11:33 +0000 Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1726956691; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wV9uAS+0OPTKjuI401GS/fjzbNkO/joRQInCiVyOaKM=; b=dkqpJtQ3xBIB4T2ZDtACACq7nfJRAxrNBLaTWa/mNK9DiwSJGCEtD6MvsqyHPAzsA9ftvr 7/M/m24P19ADVuXsrxTjF4iUwe4t2ZI3+YM8hCCrILbxdxiaE7aiAW6s0GlWGyhtDqW83X bB84nd7vNlLG8Dj9c4IjoppjzJKcOLXe2XY9AAmyZJz02WZQz19YNAF+NbRhO0+wuv8HHN 8qzeZqYlKHp3aVCx3MSDdDSBnJRX9zR6M4KZZKl4rW+lXxpHFFQI+szgZDPIUh/vbhzl7i VoHSpbGFCI3rWe5FTkd094Pb+YZI0nGGTvwAFLyJsE8is/w4FXkpLWOn/QQtUw== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Message-Id: Subject: Re: [PATCH olang v1 1/2] tests: build: enhance compiler functional test From: "Carlos Maniero" To: "Johnny Richard" , <~johnnyrichard/olang-devel@lists.sr.ht> X-Mailer: aerc 0.15.2-211-g37d5fc691aff References: <20240921210512.1100242-1-johnny@johnnyrichard.com> <20240921210512.1100242-2-johnny@johnnyrichard.com> In-Reply-To: <20240921210512.1100242-2-johnny@johnnyrichard.com> Date: Sat, 21 Sep 2024 22:11:30 +0000 (UTC) X-CM-Analysis: v=2.4 cv=TcnEtgQh c=1 sm=1 tr=0 ts=66ef4493 a=WwxFCuf3mf1fs3oSi6/dng==:117 a=WwxFCuf3mf1fs3oSi6/dng==:17 a=IkcTkHD0fZMA:10 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=T28X8g76AAAA:8 a=ccFUdgBg-_m4-sExSIgA:9 a=QEXdDO2ut3YA:10 a=Ul7kwTagbYUA:10 a=BmhaDB4MeMfkF1C5Kgfw:22 a=BXDaF_L80NY05PYiAFlV:22 X-CM-Envelope: MS4xfEO8IGpeO7Yjalx2h93H6vaiDKlTE6iZW/XffivbN6a29k257CG5rFTdkm+JfpO2ChwmqL3f3T6Eo/sjPcwgL8BAIhk+J8udg7vOlFg2Umg8q0Sq79z+ cYa4QMYYyEsrYRxXweLKndSW2yF+ppodjmDCfyr1dI4R6BcFnSQYBT09a3vgEy4B9XAI4iU6vlYSzsBGhZAXSk8VDJnpkOKEVSOiqE52tLEqxRIYN9Xmyp9W TVn8DxJDCR8T1/sSfogxuQ== X-AuthUser: carlos@maniero.me 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-Flow: FLOW_IN X-Migadu-Country: NL X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.00 X-Migadu-Queue-Id: 1EB281D4BB X-Spam-Score: -4.00 X-TUID: 6dp0NrYTPyoY On Sat Sep 21, 2024 at 6:02 PM -03, Johnny Richard wrote: > There was two problem with the current state of our integration tests: > > 1) The folder structure is very annoying and long to navigate, the last > tests folder mess with the shell autocomplete because it has almost > the same name as the tests.sh script. I agree the extra *tests/integration/tests* is really annoying specially because the auto complete never works once there is a conflict in between *tests/integration/tests/* and *tests/integration/test.sh*. Although, I think that *tests/execute* is not very meaningful once the *execute* word does refer to something in the test domain. You suggested *tests/compiler* over IRC but I think that it should be clear that it is a _black box_ testing. Even that I don't like *tests/integration* that much, I still think it is more meaningful than the suggestions and it would not be that distracting once we remove the extra *tests* from the path keeping it from *tests/integration/tests/0001_main_exit.ol* to *tests/integration/0001_main_exit.ol*. Otherwise, in case you want reword the tests, it is important to update our docs[1] as well. > This change will enable the parallelization and reduce the folder > structure so we can have a better development experience. No changes required here, but keep in mind a parallel will mess with the tests output. [1]: https://o-lang.org/manual/Building-the-compiler.html#Testing