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 ABNLLqRhxWYbTAAA62LTzQ:P1 (envelope-from ) for ; Wed, 21 Aug 2024 05:40:20 +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 ABNLLqRhxWYbTAAA62LTzQ (envelope-from ) for ; Wed, 21 Aug 2024 05:40:20 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=So5vN24b; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b="kPfVI48/"; dmarc=pass (policy=none) header.from=maniero.me; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; 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=1724211620; 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=sw9GxJMetzW6prIhIjGfnrfWPZWA79JEB+r/2ZndqM4=; b=uocPytFQ2y0aFRbWee8Xq0GzwcvtEF3IAuZkN6bH3nUJtaHcVZOqB0jI+a2ODQiTUNICAQ av/5NWFked3w+ykW/15OXVt4HbEZRsdXw1HJG+HE5MgrfhxL/Ul59MXOKpnCMP+Mm+N6nY 4wVfo7+moCN9bObMS9iMpFr714zlkDgq6CskcLAP6ZGv+5dZ9ot3fh2mrctCOV/MSQJ5j3 5NnH8kGetYbP1rRDwetKENIjknkfpYDPTDo4ofWUeArH+V6pg19qUO0ddqDGq9I6ox6udt xJTx/19Qpwd7czpy5numrG2YLFKJbc4QzH0uZA9rverr5vpzqTj+YTYHjnnCsQ== ARC-Seal: i=2; s=key1; d=johnnyrichard.com; t=1724211620; a=rsa-sha256; cv=pass; b=WcxmHqbiBoCAh9gs+IYOOjpVbuDLApAXxTRxbxVU1STKlKbHbcfrSa+xS5BgXnM2PBG0XU ZuBhgtmYwXLhn0ApBVtYtfZcxTeQ9jmVDA2BfXZQFUmSfCOWHQ1qHytUpuUBMUlReCjPUF r2dKyAJdXLc83/G8qosQD8ciGqOiMAwVKW0NyA4nuZcJn10tbZOXyqbddhmsmhjQCWUDs7 aQedRW1tbFzxBfA0/5pdDLIyaXHip6AvwsE0m/68V5xhE/rGX+6n+L7erSXsFFnzhbwVXV SQoLVs1UC583JZeOlXYvrIuNa+oMIhMDZ6y6oWbDLom1OBCEjf/pNvXzeCf+iA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=So5vN24b; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b="kPfVI48/"; dmarc=pass (policy=none) header.from=maniero.me; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; arc=pass ("mailchannels.net:s=arc-2022:i=1") 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 63D471F77A for ; Wed, 21 Aug 2024 05:40:17 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=Z33cut2DSK5jYu6VPtXUcvcBAOjEOW2/vDib+A9Sojs=; 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=1724211615; v=1; b=So5vN24b38ooXHOO9TDSGnlx+jy/XRJGy7QbTZ3i8WwfuhOrJSDfSFhaBkG0vjGXOWMpNSjF mN26Q48X/Jcfrf19Q4f0VqDNYYhH+ODKR2w+wClGE+Hr+k4gG0tyKPJnxDb4Jm3Xs0d2ScJgt41 7oserE0XaXxdqFrgub9lM4J8hHWeNwtOJqP8KjJIroUF/oshOI8JcmjXyU4it87tEdVPaZMXJK0 2sMSLcnKH9mLsNSJYVUPFnvydqI6V6I6UiXc9JHgpcKGb6EQpcPZAM9JC2iy5X9lrkqweFJhfYQ lz3WxGd626zbNiCJcGEBhSAF1JM7ZS8YktzyuHdWmR2Aw== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 7D59D20291 for ; Wed, 21 Aug 2024 03:40:15 +0000 (UTC) Received: from fossa.ash.relay.mailchannels.net (fossa.ash.relay.mailchannels.net [23.83.222.62]) by mail-a.sr.ht (Postfix) with ESMTPS id 2272F20200 for <~johnnyrichard/olang-devel@lists.sr.ht>; Wed, 21 Aug 2024 03:40:13 +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 D758DC49D5 for <~johnnyrichard/olang-devel@lists.sr.ht>; Wed, 21 Aug 2024 03:40:11 +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 0D703C4B0F for <~johnnyrichard/olang-devel@lists.sr.ht>; Wed, 21 Aug 2024 03:40:10 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1724211611; a=rsa-sha256; cv=none; b=OT7ISawy5eZ+MBrhdWxJsztuVi88VOAOVGBKmdWH3ZKJ2Z/KhGnBORbC3y8DaiWfy0OK8+ /qAWggUZ4DFbhJUz1VPfCl3s2QW4j8pChAUdhCoMPyrpo6maOsuT/HuVkZfOP9Y6LwsBHk WET9C0yOB7D5U9Zwrpa27cXgAMyilOKfxbRxNRXSKNfsuG8Y9kIFmy6/3LT5VVXx9+bi+A cx4adWxz/WBiIdmJJhy1fdqF4wWY5Us6ReIyg5Y67KTpMYBkfZrg2AlkgAj+oAeYiI82aP lP09j1dQ1L9QcXy6si812RN1N6PsL2tax1RoTG6VWNKJYhVYMVJ3y4i8Kumjtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1724211611; 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=sw9GxJMetzW6prIhIjGfnrfWPZWA79JEB+r/2ZndqM4=; b=Co5kvnJHuLskyAW14UhvpS4x3xfiPE/m5BhBwLMPJZpbbMXESZw2Gm3gL5qG2DrmtRtTeL dlINmCAJ8oYmLd6Jk7wDphiNt36jAmwvU/n0FsOxhSdJuhIB/kpbtbP/591p6kpirF5H1I k/qDQtAabfIM9DepZHcdLcdQdqacRTYy8yLbqeQ4AZpZVoFMMulhMpYBM2AEzS++rvkOhr bspRZgjZ+oufFDXVHeGZTJlDN65pfPiBdVvZlVcpQeCvA6oUO80bqHQXAwrpY5Cnz7Q5B7 QBnDPPDPoSEhniYvis2xTWehmV1XkkPOjE3C3NDPRkmrKglk98y/ihnFfhJwSg== ARC-Authentication-Results: i=1; rspamd-c4b59d8dc-2lbvd; 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-Tangy-Illegal: 6f0ed7e9665c749e_1724211611553_439816878 X-MC-Loop-Signature: 1724211611553:2915323675 X-MC-Ingress-Time: 1724211611553 Received: from fr-int-smtpout5.hostinger.io (fr-int-smtpout5.hostinger.io [89.116.146.168]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.126.110.137 (trex/7.0.2); Wed, 21 Aug 2024 03:40:11 +0000 From: Carlos Maniero DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1724211609; 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=sw9GxJMetzW6prIhIjGfnrfWPZWA79JEB+r/2ZndqM4=; b=kPfVI48/RSQQ4T3UchxUXC3Fc1i4R4IhRsy9HbcP0bRUjwYk+9FppTbm5km5AOQ12ojOaS A8FGRi+3XHETryBm0Cvwq9z/lU0n7b888aNB0xpai7Sbsg1sRqy9+F5xMLWNyxu7MNI2CG 9eqMWoZJEjZSrOIDivU8E3HZjtOX+xvEJYB+qsKnkbBGk4kGyO8B3ot8d57IG3/h+RewEE uHN05IZ5gKYDpXJOfBOHVC14IM3xTlQEmesRO1d0E/3SP9Xah36SFcQB0hcPleY3FoObnm 7U+Y5peg2wboEBtIlC/BJE77MNzPgHV13GIis4+EJt+DPMYTQa62oqIm9cKjNA== To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Carlos Maniero Subject: [PATCH olang 0/2] tests: create a text-based integrations test Date: Wed, 21 Aug 2024 00:39:51 -0300 Message-Id: <20240821033953.253090-1-carlos@maniero.me> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-Envelope: MS4xfIq8uo23OdhStB7oFOmThas0Z9KKL/WdhIGR95iaGp3CvWLQtvfMo6tsT4ntvNgPa46Jqbx1JNVy+Tt4FDU3ahIRjQ5Bs5kiZRTFFxcZf6Lg9Ojg9/Rx SNEADChbjIY8tq14R/xfGI/uSpjqz4mLLWxN1j3bMFwRRSeHsNTwISLS/1fyj9cW+K1WGnsg/T6QK6II+wRCvhTLvcGtFGPDdL7WJkFnM4ZimCrB/DV6mBfc X-CM-Analysis: v=2.4 cv=SpTC6+O0 c=1 sm=1 tr=0 ts=66c56199 a=WwxFCuf3mf1fs3oSi6/dng==:117 a=WwxFCuf3mf1fs3oSi6/dng==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=wC8OtCxmdN8IHvm8tVcA:9 a=BXDaF_L80NY05PYiAFlV:22 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-Queue-Id: 63D471F77A X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.26 X-Spam-Score: -5.26 X-TUID: NLcmTkfnHJc4 The old munit based integration tests was replaced by a new mechanism that makes testing more tasteful and easy to perform. Carlos Maniero (2): tests: add comment based integration tests mechanism tests: remove previous c-based integration tests structure Makefile | 3 - tests/integration/Makefile | 34 +--- tests/integration/cli_runner.c | 100 ---------- tests/integration/cli_runner.h | 32 --- tests/integration/cli_test.c | 132 ------------- tests/integration/proc_exec.c | 63 ------ tests/integration/proc_exec.h | 37 ---- tests/integration/test.sh | 231 ++++++++++++++++++++++ tests/integration/tests/0001_main_exit.ol | 46 +++++ 9 files changed, 283 insertions(+), 395 deletions(-) delete mode 100644 tests/integration/cli_runner.c delete mode 100644 tests/integration/cli_runner.h delete mode 100644 tests/integration/cli_test.c delete mode 100644 tests/integration/proc_exec.c delete mode 100644 tests/integration/proc_exec.h create mode 100755 tests/integration/test.sh create mode 100644 tests/integration/tests/0001_main_exit.ol base-commit: 25317b2e997b51243d02d7b12f5ddcf1ccbc64eb -- 2.34.1