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 QLepLHxM6mXEeQEAbAwnHQ (envelope-from ) for ; Fri, 08 Mar 2024 00:23:40 +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 4KQmJ3xM6mWy3gAAe85BDQ (envelope-from ) for ; Fri, 08 Mar 2024 00:23:40 +0100 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=PGmIZny1; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=KuF1M3BV; 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=1709853820; 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:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=j/1WcWdedrS/YboBv9+ZwoemuEYPr7LGuy12Ry20XJ4=; b=qUvJXHH/TKZRcCLh7g4EeqHhRlFst+2VSh//1pbIR8LyvwwnUNWGnHsMo6xOEplUaCp5vN /ZJ1zdY+2QDQvJPphCZzyiNjS1E1tQtpRhNV4GF+S7wgDPdcZc+bXpOW6LyJWlfcTRKnEL GB+wqKw0NjYfTHb0R+9G9nZH81tqNB/OlJ4wcrM1/tuh2EBf+D2wXq1ypki+1N4pLBhWaX sxxKoXXlkF+PASelewG8aQk0xsaWc8ELERoZM2JjUHwFU+zcGZaBikFDbjH6d/ot3RxzEE babrWFO6qJY84eGeC3qz54bxwsa934sl0fHoOKoV278wwEDSkhsZss4nHlVIaQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=PGmIZny1; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=KuF1M3BV; 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=1709853820; a=rsa-sha256; cv=pass; b=f2+0xd+F+O/YuXzsfJRDTk+R143vz8riAv8WfQ2fukVtMFwsAyQwNmUPC8skD11hpjSZ5F GOt3ivwq8pkn0O+K4drxQoXxqqr1P0Lqc2jnMsHpFShCIB4Ekyx7Ji8vdZ+XxcAvOyuxk7 VD61xZWubatYVc9ZsS0oBY61XOzAj50A4jQ5usm6RCgqhyqtCUQIIhqcqyQaH/Alq7bMB1 qYWbQ5vytYnWhwBJwel5jVD2EwAtJMNQog7mAtMzQJleCN2LeL0JtoECIfDVLvIQecECFg ilnTWebc9x7CS/1eLJClXlz+R4PffNsZWEb0KHrbcsLE+/HDeYqRoJPhuLQUHQ== 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 62F1F17695 for ; Fri, 8 Mar 2024 00:23:37 +0100 (CET) DKIM-Signature: a=rsa-sha256; bh=1rVVl7oPVRTxw9nxd5uTQ+DKfbfIhsuKoDjbKKMoDZo=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:Date:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1709853816; v=1; b=PGmIZny1ebYMrLfIQ/yV2u3XHyipMd7T8hgvgWxnyc6JfN5aKwLYz9J9j1AqM81kUncFar3o xc+RTlhkpmv3ZHpLReWpuxDVGeR5EdiJeGcMUUZAay1k2H0nNCKbnJpApGc7kNAxp4vtT2PuEDs fGlRXN1rsSffagp5gfgyN7SYb+mbZo1WAPcxYI1W7Q4y4VTRxFpf1RSLCo5nvdtFQ3kRxhYRcLc 62mRvkJFT9mbh7DxZuZsK1MoDvRow+XHsjk7/U3KNjBGtdvlxHhtuBlfVFfoCDfKy2nUjtDjoGg rrTg8/k8PdsmBYgWSh7RRZtEcr4VZoBuwBVg/6lDOGegw== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 05BBD202D0 for ; Thu, 7 Mar 2024 23:23:36 +0000 (UTC) Received: from eastern.birch.relay.mailchannels.net (eastern.birch.relay.mailchannels.net [23.83.209.55]) by mail-a.sr.ht (Postfix) with ESMTPS id 0CA64202A4 for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 7 Mar 2024 23:23:34 +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 2B9A5901A7B for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 7 Mar 2024 23:23:33 +0000 (UTC) Received: from uk-fast-smtpout2.hostinger.io (unknown [127.0.0.6]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 33D9F901C11 for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 7 Mar 2024 23:23:31 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1709853812; a=rsa-sha256; cv=none; b=0kZdYp4SYhaqpNY8AxMfFIU7YqWkcHEldmBhbXqUk3rIYsX41J/YLyqUvttUovLs2grjvn btboArPY2WbI8W8N48nb4xdsGqBjJy2c5eMmgq7iYq+veDbCOHZkxcbK5ucG20ShDKdNWm iEqknGSOzNhLW0ydle/WISdoWmPkEmx6YTqv+666HK+VAwf5BW6sZmr8qygpN6GvIbepbf vkFEgl3/uOOB+345LBuWV3+GEhW/TAgIOCIXFNv3MHw9GMO2yy7bcUTXRSoSDzf4Ct1E69 5/NH7z99nCOwUJlNHCYyjvWxSUY9pwGsYCWgR0GyZknr3tW69epwk8BQuezIMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1709853812; 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:dkim-signature; bh=j/1WcWdedrS/YboBv9+ZwoemuEYPr7LGuy12Ry20XJ4=; b=xoiNewC8OTm8SGgav2roPb9koRYmJuuttz9aK3ZKliIHskZ8mevGlo3A/XgKZ5muvJve1Z T22nV9eivUjp3gRh92urVofuZpVnPFZdfNB9EeBtTmoqj8w2T9uka3mJV72dmUGZuF0ynb 748SZqI5R6QcITeV/QS/nbL0nOBh8IRHSHb3JajhN9Y+/kiAOulUtr8nde8+H1l3PFVy7V 5S/7lOq4HmdkkxFk5cdIU8mTUuzGewc15H6zVtXMECwsVaDtPwjCIsZvR/bnAzV1BEjC// Z8Yg71QVmI0OsYTdfURFS+3wgz3q3yhpWn7Ap+++0Uyrjx5pMA1N1XORDOl/7A== ARC-Authentication-Results: i=1; rspamd-67fb46fddd-tq4w8; 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-Wiry-Absorbed: 55948f393f452171_1709853812722_3938676138 X-MC-Loop-Signature: 1709853812722:774254002 X-MC-Ingress-Time: 1709853812721 Received: from uk-fast-smtpout2.hostinger.io (uk-fast-smtpout2.hostinger.io [31.220.23.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.106.138.125 (trex/6.9.2); Thu, 07 Mar 2024 23:23:32 +0000 From: Carlos Maniero DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1709853810; 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; bh=j/1WcWdedrS/YboBv9+ZwoemuEYPr7LGuy12Ry20XJ4=; b=KuF1M3BVRPTqZSKaOL9qPKzrt9omSeS+q0xN9SnyQsvkIZO2EcjZbsDp7YFzPh5F64OCh3 kJV0rNBSvToG/fKLv10DdxUZ0QqXxICF7bix6lpVVyEvN88IJbT/ts1nv5j4L7LX3SLzzU TKI2gnkFV0P+ITv90imOqKvQaS+aemKZDjkVN7CzXJd9PhqqIDW4HhaG+eyfu3UTWpYEX8 n1KcYdWIQs+n5OZzoiSyjBxJPy7IvAtnj37PTUgwWpkjx5heuWyQ9x8n9WxYK3Ec0AQwKJ bbms30jV4crBx9KbXCdbjsd4pxcpPiW62hb8kvOMjQrtU3TKRZTyKW92YvtmFA== To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Carlos Maniero Subject: [PATCH olang 0/3] tests: cli: cover compilation pipeline Date: Thu, 7 Mar 2024 20:23:19 -0300 Message-Id: <20240307232322.2085290-1-carlos@maniero.me> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-Analysis: v=2.4 cv=HawSTDE8 c=1 sm=1 tr=0 ts=65ea4c71 a=5+VMC1FZ3J4mVPAKpPmAqg==:117 a=5+VMC1FZ3J4mVPAKpPmAqg==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=l48hgfrA6iTekd3R-a8A:9 a=BXDaF_L80NY05PYiAFlV:22 X-CM-Envelope: MS4xfA7DX4FmJLjZ6cRSO0ShGMQ1vVQ1nkH07afYshpMCjcb+wk2L/240pcVvRgocZuUDaLiqiwHY1Q1CqA9iLLC2kl6+SSNrAy4IkEFU29sx1xwJeoxFpm0 QJZQs+UjugVg6rE3+TAzfimLIEw9x3vjdDUhfnKjq8Xid35c1cHctFl4x3lLjqbGgvxf3Pjqvw5fyG9oa8WHCXVf3MtVLuYzvVAsYFetbe0f7Wbvs4t1naOl 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-Country: NL X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.05 X-Spam-Score: -9.05 X-Migadu-Queue-Id: 62F1F17695 X-TUID: 4ySM6pr2yQ8n This patch is focused in coverig the entire compilation pipeline. Although as it is the second integration test of the olang codebase it also has a few housekeeping in order to provide a smooth test experience. Carlos Maniero (3): tests: fix: rename dump tokens test name tests: decouple command execution from cli_runner tests: add tests for the minimal possible olang program tests/integration/Makefile | 4 +-- tests/integration/cli_runner.c | 60 +++++++++++++------------------- tests/integration/cli_runner.h | 10 ++++-- tests/integration/cli_test.c | 33 +++++++++++++++--- tests/integration/proc_exec.c | 62 ++++++++++++++++++++++++++++++++++ tests/integration/proc_exec.h | 36 ++++++++++++++++++++ 6 files changed, 158 insertions(+), 47 deletions(-) create mode 100644 tests/integration/proc_exec.c create mode 100644 tests/integration/proc_exec.h -- 2.34.1