public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [PATCH olang v1 0/2] tests: build: improve makefile for tests
@ 2024-09-21 21:02 Johnny Richard
  2024-09-21 21:02 ` [PATCH olang v1 1/2] tests: build: enhance compiler functional tests Johnny Richard
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Johnny Richard @ 2024-09-21 21:02 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Johnny Richard

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-22 15:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-21 21:02 [PATCH olang v1 0/2] tests: build: improve makefile for tests Johnny Richard
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

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