feat: build system ready for testsuite using make check

This commit is contained in:
matteo 2026-01-23 20:31:49 +01:00
parent e853249fbf
commit b9d7dbce1f
2 changed files with 23 additions and 43 deletions

View file

@ -24,6 +24,12 @@ bin_PROGRAMS = 42sh
# ================ TESTS ================
check-local: $(bin_PROGRAMS) # $(check_PROGRAMS)
./../testsuite.sh
#./../tests/functional/testsuite.sh
#./testsuite
# ------------- Unit tests --------------
check_PROGRAMS = testsuite
@ -36,7 +42,7 @@ testsuite_SOURCES = ../tests/unit/lexer/lexer_tests.c \
testsuite_CPPFLAGS = $(42sh_CPPFLAGS)
testsuite_LDADD = $(42sh_LDADD) $(CRITERION_LIBS)
testsuite_LDADD = $(42sh_LDADD) -lcriterion
# ------------- asan debug --------------