From 967be9e750221ab2ab783f95df79bb26d290a45e Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:07:58 +0200 Subject: add: added projects --- 42sh/tests/Makefile.am | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 42sh/tests/Makefile.am (limited to '42sh/tests/Makefile.am') diff --git a/42sh/tests/Makefile.am b/42sh/tests/Makefile.am new file mode 100644 index 0000000..245ea6e --- /dev/null +++ b/42sh/tests/Makefile.am @@ -0,0 +1,19 @@ +bin_PROGRAMS = tests + +tests_SOURCES = $(top_srcdir)/tests/unit/tests_lexer.c \ + $(top_srcdir)/src/helper.c + +tests_CFLAGS = -Wall -Wextra -Wvla -std=c99 -pedantic # -Werror +tests_CPPFLAGS = -I$(top_srcdir)/src + +tests_LDADD = $(top_srcdir)/src/lexer/liblexer.a \ + $(top_srcdir)/src/utils/libutils.a \ + $(top_srcdir)/src/parser/libparser.a \ + $(top_srcdir)/src/IO/libIO.a \ + $(top_srcdir)/src/ast/libast.a \ + $(top_srcdir)/src/exec/libeval.a \ + $(top_srcdir)/src/builtins/libbuiltins.a \ + -lcriterion + +check-local: + $(top_srcdir)/tests/wrapper.sh -- cgit v1.2.3