feat: build system ready for testsuite using make check
This commit is contained in:
parent
e853249fbf
commit
b9d7dbce1f
2 changed files with 23 additions and 43 deletions
|
|
@ -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 --------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue