From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail-a.sr.ht; dkim=pass header.d=maniero.me header.i=@maniero.me Received: from buffalo.tulip.relay.mailchannels.net (buffalo.tulip.relay.mailchannels.net [23.83.218.24]) by mail-a.sr.ht (Postfix) with ESMTPS id 23DA420103 for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 15 Feb 2024 16:26:36 +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 304686C4A2F for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 15 Feb 2024 16:26:35 +0000 (UTC) Received: from nl-srv-smtpout4.hostinger.io (unknown [127.0.0.6]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 6E2956C489D for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 15 Feb 2024 16:26:34 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1708014394; a=rsa-sha256; cv=none; b=YyjvF9rR4m1H+Go2F0D6G0IKXVGyFPovx6V+9VhZdDxsTt1YkOoycTnBUVqPCtIIa+lKE1 0aovY4Nj2w8rg3MJIaDRnTUZ2t8u0IK4iF+SXYHg0D2+u54CIHSLoxQPEyEnykuB8Thmhl DSN1PJG1r5PdcWtcE8w7GMyrJrdzPiOkyjrFoJPE9GzAwwmCpCzXGJRvX938cX6C8jjZH0 aj5jjp7F98d1ZpTRSmCe2Kn5qbhoqgTOwlzmcBy/qwwnUPHIipDs/lVf7BH2kx3/SXojdO 0y7AH2cK9uuI/f/nPHzKn3chdBL24iiBBAjrZbTvllZTKltyRrJaqfxuB9Yxiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1708014394; 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=/VbJWRFEBMHcs8e4d3PmmNoRedtNLhL7lYZeQegeYEM=; b=1S5Kvx+YjyA4fhgdeDBjs1FctcxH/6fqz4HpLWSfI1m+aL6c6FEjO5kjlE/Azl9A+ELwaR /777aX6wq6MRdd9ParN5sF11G9bq09rUJHWjcgRYo8RfE8HZ5v3HZm6pJ+q6xYV48hJ43B lYXLr6k1N1Tv+Lkn9SjlBUifidH52TJzqcA5cE5X5np97Gk9/tLnZoZpNq+YwCvf+ppu43 Q+169MCrKDdo7jiFMgXCY/PykLzzeK5wY3jqfcJWgCPWwPZ8SOPN3piy2mbEsWz3oQp1G9 mMB3dSsuqXhHeYx3hbXnjaaCjU86ta8QGwHBIQ7PXfZmpGnKvvXeoQwpzSJ90g== ARC-Authentication-Results: i=1; rspamd-6bdc45795d-94nhj; 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-Quick-Thoughtful: 4d9940ad2feb04ee_1708014394952_2697250168 X-MC-Loop-Signature: 1708014394952:3769962959 X-MC-Ingress-Time: 1708014394952 Received: from nl-srv-smtpout4.hostinger.io (nl-srv-smtpout4.hostinger.io [145.14.159.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.119.153.71 (trex/6.9.2); Thu, 15 Feb 2024 16:26:34 +0000 From: Carlos Maniero DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1708014392; 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=/VbJWRFEBMHcs8e4d3PmmNoRedtNLhL7lYZeQegeYEM=; b=EZ4UjnjL9Or3yuhTeg26IY8giLTCPzbvWy7cwxBfjldKDJxCnm5U9oEVbuekurAKeb/c2Z wQiSORRG9+lgPULGVWVcuC3mdPHhavcRsGkJDCBU8vGksTcG3osC7tjNFPbFkz1uz+b70m E4LoLAwIc9Uj4AGFKipPlYsc4sgvvaCOZTkDojf4RrL/Z8Bd27mGN2tYYYnqsj8uP9wPOa scV2t5OKfw1QfHgr5X26V7NZDYJ+7DMI7994OBc45c1Tw6aXlnZugnpOiMsxQ638b3SmCu rUyEpRxr8afGg3JygoNzOvbTYAszCwjR0bSBOKSDHLM5D+3GOB3q/c2OmQ7RMQ== To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Carlos Maniero Subject: [PATCH olang 0/2] Add integration tests Date: Thu, 15 Feb 2024 13:21:44 -0300 Message-Id: <20240215162146.847336-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=DIOJ4TNb c=1 sm=1 tr=0 ts=65ce3b38 a=5+VMC1FZ3J4mVPAKpPmAqg==:117 a=5+VMC1FZ3J4mVPAKpPmAqg==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=BXDaF_L80NYA:10 a=nOxODxYpQ0qNYKVMLkMA:9 X-CM-Envelope: MS4xfL5gElXUR5zXANFoYPaYUXMwcP+vqCz/7Z3IIUoGhwyUGYP+Eh1BGSpVmVQoes2SW+qeD0ybPF/ca/FPqH6edoGBFh37GUJkztpsRVt5O1axsGQ9dwPf SVeTbAPz/PlJPUzATskdcha37tZunRky3w6uafS3hFonkf/Rzx7H8wrNu9wpy8NxLcl1I0m7naREw2d3zTPjWctqjWEQ0KD4qsMaWevEmelpEcoxNm8lhsgg nnLfxZJRHkRbQmD3kvqBJQ== X-AuthUser: carlos@maniero.me X-TUID: dlBgtcBGpm2e This patch is divided by two commits, the first is a copy of the customer version of munit cloned from pipalang. The second is a integration test setup that ensures the 0c binary is there and is executable. *** BLURB HERE *** Carlos Maniero (2): tests: add munit testing framework file tests: add integration test setup .build.yml | 6 +- Makefile | 16 + tests/integration/Makefile | 27 + tests/integration/cli_runner.c | 71 ++ tests/integration/cli_runner.h | 27 + tests/integration/cli_test.c | 39 + tests/integration/munit.c | 2057 ++++++++++++++++++++++++++++++++ tests/integration/munit.h | 536 +++++++++ 8 files changed, 2778 insertions(+), 1 deletion(-) create mode 100644 tests/integration/Makefile create mode 100644 tests/integration/cli_runner.c create mode 100644 tests/integration/cli_runner.h create mode 100644 tests/integration/cli_test.c create mode 100644 tests/integration/munit.c create mode 100644 tests/integration/munit.h -- 2.34.1