From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iERgAOI18GaYCAAAqHPOHw:P1 (envelope-from ) for ; Sun, 22 Sep 2024 17:21:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iERgAOI18GaYCAAAqHPOHw (envelope-from ) for ; Sun, 22 Sep 2024 17:21:06 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=OTcgDcjQ; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b="YBfmka/H"; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1727018465; 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=JIy7FQzi+ViNMW3Ss2ORRmlYjIinqaq2QY22XBAIk/w=; b=PqgF7llppqMN9UVvh6cJ+RPoN7i+MLflj4PLzh0SAUcKVkS/xlD6osSzrFwAEFRAO5L3gP 5yi05bXDFFp0RgmEyCbWmHzyOSuzhKhZ/utE007vSitR3O5s9l6yCxn5ipb5j53Oz7JaVu zeKVJJqqjdXBb7iUSMX5Y0QhintJdEaJDxaJy5sxecd3V9LJHrX74dDv4KpU4wSIcLKBtc KUYpiYA2ow7ec953NjbzA683wCvYAmOFWaaxgGNcbKhfH4T8HbnSC4DC1F7H8+bn+df4Sc p1TDcqh7hWWLCD1ezz0O40o528+yyoSeqnQeQCix0d0xXW7cnwn22F3OrCktnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=OTcgDcjQ; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b="YBfmka/H"; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com ARC-Seal: i=1; s=key1; d=johnnyrichard.com; t=1727018465; a=rsa-sha256; cv=none; b=h5VnthI9F6DLiEAomhryBCkG6EFrAdkG/NVySC3glcX66Xwo3yGlpNm5fMMWlTaAW0vZON dcm0hUq0O9+XGzvVcw6VprkYWsQIzAwvkwvKs9Or4gZURj/wiMjXjYy4M8E19rDhccrXR7 8i/2W+4TqMxC/4mldA5tNaRS+njD2rXnOXal8tN11nc+A9l3jPycMvloX3OwIS3ur5HdnM JGlFmZc+KmjMYbORhyYCf9nDV0aNmgAWQf3Xbl+EMUWtHzup99HFg2uHXCuPw7IY8qpzig jpBM51hiSY12XD0pntTXMRMZZNB3wMENLbBcCRavTVdaOatGNHsigR6Lv9AYnw== 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 D882E6E1EF for ; Sun, 22 Sep 2024 17:21:04 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=k8zDNwEZeXxw3WM7WA2vXAUKvZu2Q2HgYx1ko5yf8go=; 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=1727018464; v=1; b=OTcgDcjQ8Hr61dMklE1fW5c/HhXtHAFGDy41/dL0Uhwdv6cgiu10fK2huoXwcr6RbuOinyuN jT9azlvE1rT/S71UnHtcMokLMppzLhFIEeruNzkU+kAMcAwjItVv7afSdAf0E3JiDuMq0WYQawP egV+Ts1RjCf46uprLbSarW9iFIZtjknQxxLh4uw09AY+fXlumDKA7EOqz3VzE3I0D2l/L9LQAQe Izz82WBGaBn1Jq/i8CuCy1aKy5Bs7ehdA4hOqTgFVd3h8N3Wwj+qwzIuhBnsdVZJbj9XHAxP+R4 FChok0/6EvCFRuehsvWkkKdbCS3MldMcqbJj0MqhELUbA== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id A6AE22027E for ; Sun, 22 Sep 2024 15:21:04 +0000 (UTC) Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) by mail-a.sr.ht (Postfix) with ESMTPS id E56932027F for <~johnnyrichard/olang-devel@lists.sr.ht>; Sun, 22 Sep 2024 15:21:03 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1727018462; 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=JIy7FQzi+ViNMW3Ss2ORRmlYjIinqaq2QY22XBAIk/w=; b=YBfmka/H4k0xORzyh9x0hluh6ITC8tIfjCDzkGW/b/W2tYT3X3P7r4ITCNYwOSCsPyu1F8 D2qt8Te+o/JBKOyQCYLIhQ1uS0gDUFDOb9YvZbA9L0oc7EDX/CFVkpYO8HtxiWL6dx0EoW T9TNZdhDH05a5MnCtGA11VvNMiwrIyxHrxwRUMZWD+qv2koaNYzWUwlwAqGbL5Hm1jAYl6 WzgaGTyif4pFUVT7bYffNm2e7dWKZz6FmLuyxBO4TSkdPr7fMRl+2MLvZOnujtn5swYFNe oczCcekF3OWDaM7iojuLWrsji27mbXY/xf2HsQAkBvmP9cfFsTw89IS/j1ZIYQ== From: Johnny Richard To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Johnny Richard Subject: [PATCH olang v2 0/3] improve test's makes and compiler binary Date: Sun, 22 Sep 2024 17:15:53 +0200 Message-ID: <20240922152119.1214443-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: D882E6E1EF X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -5.90 X-Migadu-Spam-Score: -5.90 X-TUID: PIVeCiCeOF2M This is an attempt of improving the development experience by changing the folder strucutre for tests and making a better usage of make execution to enable parallelization support. This patchset also changes the compiler binary from olang to olc. - V2: - rename olang binary to olc - fix missing docs instructions for the new build - replace 'execute' folder by 'olc' under tests Johnny Richard (3): olc: rename 'olang' binary to 'olc' tests: build: enhance compiler tests tests: build: add parallelization support for unit tests .gitignore | 2 +- Makefile | 31 ++++++-------- docs/info/contribution-guide.texi | 5 +-- docs/info/installation.texi | 4 +- docs/man/man1/{olang.1 => olc.1} | 10 ++--- tests/integration/Makefile | 9 ----- .../tests => olc}/0001_main_exit.ol | 24 +++++------ .../0002_binary_operator_addition.ol | 0 .../0003_binary_operator_multiplication.ol | 0 .../0004_binary_operator_division.ol | 0 .../0005_binary_operator_reminder.ol | 0 .../0006_binary_operator_subtraction.ol | 0 .../tests => olc}/0007_binary_operator_eq.ol | 0 .../tests => olc}/0008_binary_operator_lt.ol | 0 .../tests => olc}/0009_binary_operator_gt.ol | 0 .../tests => olc}/0010_binary_operator_neq.ol | 0 .../tests => olc}/0011_binary_operator_leq.ol | 0 .../tests => olc}/0012_binary_operator_geq.ol | 0 .../0013_binary_operator_lshift.ol | 0 .../0014_binary_operator_rshift.ol | 0 .../tests => olc}/0015_binary_operator_xor.ol | 2 +- .../tests => olc}/0016_binary_operator_and.ol | 0 .../tests => olc}/0017_binary_operator_or.ol | 0 .../0018_binary_operator_logical_and.ol | 0 .../0019_binary_operator_logical_or.ol | 0 .../tests => olc}/0020_if_statement.ol | 2 +- .../tests => olc}/0021_if_statement_failed.ol | 0 .../0022_if_statement_literal.ol | 0 .../tests => olc}/0023_else_statement.ol | 2 +- .../tests => olc}/0024_var_definition.ol | 2 +- .../0025_var_definition_nested.ol | 0 .../tests => olc}/0026_primitive_unsigneds.ol | 0 tests/olc/0026_primitive_unsigneds.ol.orig | 27 +++++++++++++ tests/olc/Makefile | 15 +++++++ tests/{integration/test.sh => olc/run.sh} | 2 +- tests/unit/Makefile | 40 +++++++++---------- 36 files changed, 100 insertions(+), 77 deletions(-) rename docs/man/man1/{olang.1 => olc.1} (87%) delete mode 100644 tests/integration/Makefile rename tests/{integration/tests => olc}/0001_main_exit.ol (66%) rename tests/{integration/tests => olc}/0002_binary_operator_addition.ol (100%) rename tests/{integration/tests => olc}/0003_binary_operator_multiplication.ol (100%) rename tests/{integration/tests => olc}/0004_binary_operator_division.ol (100%) rename tests/{integration/tests => olc}/0005_binary_operator_reminder.ol (100%) rename tests/{integration/tests => olc}/0006_binary_operator_subtraction.ol (100%) rename tests/{integration/tests => olc}/0007_binary_operator_eq.ol (100%) rename tests/{integration/tests => olc}/0008_binary_operator_lt.ol (100%) rename tests/{integration/tests => olc}/0009_binary_operator_gt.ol (100%) rename tests/{integration/tests => olc}/0010_binary_operator_neq.ol (100%) rename tests/{integration/tests => olc}/0011_binary_operator_leq.ol (100%) rename tests/{integration/tests => olc}/0012_binary_operator_geq.ol (100%) rename tests/{integration/tests => olc}/0013_binary_operator_lshift.ol (100%) rename tests/{integration/tests => olc}/0014_binary_operator_rshift.ol (100%) rename tests/{integration/tests => olc}/0015_binary_operator_xor.ol (96%) rename tests/{integration/tests => olc}/0016_binary_operator_and.ol (100%) rename tests/{integration/tests => olc}/0017_binary_operator_or.ol (100%) rename tests/{integration/tests => olc}/0018_binary_operator_logical_and.ol (100%) rename tests/{integration/tests => olc}/0019_binary_operator_logical_or.ol (100%) rename tests/{integration/tests => olc}/0020_if_statement.ol (96%) rename tests/{integration/tests => olc}/0021_if_statement_failed.ol (100%) rename tests/{integration/tests => olc}/0022_if_statement_literal.ol (100%) rename tests/{integration/tests => olc}/0023_else_statement.ol (96%) rename tests/{integration/tests => olc}/0024_var_definition.ol (96%) rename tests/{integration/tests => olc}/0025_var_definition_nested.ol (100%) rename tests/{integration/tests => olc}/0026_primitive_unsigneds.ol (100%) create mode 100644 tests/olc/0026_primitive_unsigneds.ol.orig create mode 100644 tests/olc/Makefile rename tests/{integration/test.sh => olc/run.sh} (99%) base-commit: e35d8835bf464a0f4de8b731fc248a7188fccef1 -- 2.46.0