public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [PATCH olang v2 0/3] improve test's makes and compiler binary
@ 2024-09-22 15:15 Johnny Richard
  2024-09-22 15:15 ` [PATCH olang v2 1/3] olc: rename 'olang' binary to 'olc' Johnny Richard
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Johnny Richard @ 2024-09-22 15:15 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Johnny Richard

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


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-22 15:15 [PATCH olang v2 0/3] improve test's makes and compiler binary Johnny Richard
2024-09-22 15:15 ` [PATCH olang v2 1/3] olc: rename 'olang' binary to 'olc' Johnny Richard
2024-09-22 15:15 ` [PATCH olang v2 2/3] tests: build: enhance compiler tests Johnny Richard
2024-09-22 15:15 ` [PATCH olang v2 3/3] tests: build: add parallelization support for unit tests Johnny Richard
2024-09-23  9:09 ` [PATCH olang v2 0/3] improve test's makes and compiler binary Carlos Maniero
2024-09-23 10:57   ` 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