public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
From: Johnny Richard <johnny@johnnyrichard.com>
To: ~johnnyrichard/olang-devel@lists.sr.ht
Cc: Johnny Richard <johnny@johnnyrichard.com>
Subject: [PATCH olang v1 0/2] tests: build: improve makefile for tests
Date: Sat, 21 Sep 2024 23:02:47 +0200	[thread overview]
Message-ID: <20240921210512.1100242-1-johnny@johnnyrichard.com> (raw)

This is an attempt of improve the development experience by improving
the folder structure of functional tests and making better usage of make
execution to enable parallelization support.

Johnny Richard (2):
  tests: build: enhance compiler functional tests
  tests: build: add parallelization support for unit tests

 Makefile                                      | 12 +++---
 .../tests => execute}/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
 .../0007_binary_operator_eq.ol                |  0
 .../0008_binary_operator_lt.ol                |  0
 .../0009_binary_operator_gt.ol                |  0
 .../0010_binary_operator_neq.ol               |  0
 .../0011_binary_operator_leq.ol               |  0
 .../0012_binary_operator_geq.ol               |  0
 .../0013_binary_operator_lshift.ol            |  0
 .../0014_binary_operator_rshift.ol            |  0
 .../0015_binary_operator_xor.ol               |  0
 .../0016_binary_operator_and.ol               |  0
 .../0017_binary_operator_or.ol                |  0
 .../0018_binary_operator_logical_and.ol       |  0
 .../0019_binary_operator_logical_or.ol        |  0
 .../tests => execute}/0020_if_statement.ol    |  2 +-
 .../0021_if_statement_failed.ol               |  0
 .../0022_if_statement_literal.ol              |  0
 .../tests => execute}/0023_else_statement.ol  |  2 +-
 .../tests => execute}/0024_var_definition.ol  |  2 +-
 .../0025_var_definition_nested.ol             |  0
 tests/execute/Makefile                        | 15 +++++++
 tests/{integration/test.sh => execute/run.sh} |  0
 tests/integration/Makefile                    |  9 -----
 tests/unit/Makefile                           | 40 +++++++++----------
 30 files changed, 54 insertions(+), 52 deletions(-)
 rename tests/{integration/tests => execute}/0001_main_exit.ol (66%)
 rename tests/{integration/tests => execute}/0002_binary_operator_addition.ol (100%)
 rename tests/{integration/tests => execute}/0003_binary_operator_multiplication.ol (100%)
 rename tests/{integration/tests => execute}/0004_binary_operator_division.ol (100%)
 rename tests/{integration/tests => execute}/0005_binary_operator_reminder.ol (100%)
 rename tests/{integration/tests => execute}/0006_binary_operator_subtraction.ol (100%)
 rename tests/{integration/tests => execute}/0007_binary_operator_eq.ol (100%)
 rename tests/{integration/tests => execute}/0008_binary_operator_lt.ol (100%)
 rename tests/{integration/tests => execute}/0009_binary_operator_gt.ol (100%)
 rename tests/{integration/tests => execute}/0010_binary_operator_neq.ol (100%)
 rename tests/{integration/tests => execute}/0011_binary_operator_leq.ol (100%)
 rename tests/{integration/tests => execute}/0012_binary_operator_geq.ol (100%)
 rename tests/{integration/tests => execute}/0013_binary_operator_lshift.ol (100%)
 rename tests/{integration/tests => execute}/0014_binary_operator_rshift.ol (100%)
 rename tests/{integration/tests => execute}/0015_binary_operator_xor.ol (100%)
 rename tests/{integration/tests => execute}/0016_binary_operator_and.ol (100%)
 rename tests/{integration/tests => execute}/0017_binary_operator_or.ol (100%)
 rename tests/{integration/tests => execute}/0018_binary_operator_logical_and.ol (100%)
 rename tests/{integration/tests => execute}/0019_binary_operator_logical_or.ol (100%)
 rename tests/{integration/tests => execute}/0020_if_statement.ol (96%)
 rename tests/{integration/tests => execute}/0021_if_statement_failed.ol (100%)
 rename tests/{integration/tests => execute}/0022_if_statement_literal.ol (100%)
 rename tests/{integration/tests => execute}/0023_else_statement.ol (96%)
 rename tests/{integration/tests => execute}/0024_var_definition.ol (96%)
 rename tests/{integration/tests => execute}/0025_var_definition_nested.ol (100%)
 create mode 100644 tests/execute/Makefile
 rename tests/{integration/test.sh => execute/run.sh} (100%)
 delete mode 100644 tests/integration/Makefile


base-commit: 0d9ff9cbb463f044c7d482a4045d7668664e0d35
-- 
2.46.0


             reply	other threads:[~2024-09-21 21:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-21 21:02 Johnny Richard [this message]
2024-09-21 21:02 ` [PATCH olang v1 1/2] tests: build: enhance compiler functional tests Johnny Richard
2024-09-21 22:11   ` [PATCH olang v1 1/2] tests: build: enhance compiler functional test Carlos Maniero
2024-09-21 21:02 ` [PATCH olang v1 2/2] tests: build: add parallelization support for unit tests Johnny Richard
2024-09-21 21:05   ` [olang/patches/.build.yml] build success builds.sr.ht
2024-09-21 22:30   ` [PATCH olang v1 2/2] tests: build: add parallelization support for unit tests Carlos Maniero
2024-09-22 15:23 ` [PATCH olang v1 0/2] tests: build: improve makefile for tests Johnny Richard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240921210512.1100242-1-johnny@johnnyrichard.com \
    --to=johnny@johnnyrichard.com \
    --cc=~johnnyrichard/olang-devel@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.johnnyrichard.com/olang.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox