public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [PATCH olang 0/2] add unit tests config
@ 2024-02-18  0:27 Carlos Maniero
  2024-02-18  0:50 ` [PATCH olang 1/2] tests: move munit to a shared directory Carlos Maniero
  2024-02-19  0:50 ` [PATCH olang 0/2] add unit tests config Johnny Richard
  0 siblings, 2 replies; 5+ messages in thread
From: Carlos Maniero @ 2024-02-18  0:27 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Carlos Maniero

Simple configurations to start supporting unit tests.

Note that I moved the munit to a shared directory to avoid having it
duplicated over te codebase. Although I kept the .o duplicated in each
folder it is used so then It won't requires any extra configuration to
clean the munit.o. The make clean of both integration and unit will
handle the cleaning.

Carlos Maniero (2):
  tests: move munit to a shared directory
  tests: add unit tests configuration

 Makefile                              |  6 +++++-
 tests/integration/Makefile            | 16 +++++++++------
 tests/{integration => shared}/munit.c |  0
 tests/{integration => shared}/munit.h |  0
 tests/unit/Makefile                   | 28 +++++++++++++++++++++++++++
 5 files changed, 43 insertions(+), 7 deletions(-)
 rename tests/{integration => shared}/munit.c (100%)
 rename tests/{integration => shared}/munit.h (100%)
 create mode 100644 tests/unit/Makefile

-- 
2.34.1


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

end of thread, other threads:[~2024-02-18 23:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-18  0:27 [PATCH olang 0/2] add unit tests config Carlos Maniero
2024-02-18  0:50 ` [PATCH olang 1/2] tests: move munit to a shared directory Carlos Maniero
2024-02-18  0:50   ` [PATCH olang 2/2] tests: add unit tests configuration Carlos Maniero
2024-02-18  0:55     ` [olang/patches/.build.yml] build success builds.sr.ht
2024-02-19  0:50 ` [PATCH olang 0/2] add unit tests config 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