diff options
author | Nicolas Dato <nicolas.dato@gmail.com> | 2024-10-13 19:57:49 -0300 |
---|---|---|
committer | Nicolas Dato <nicolas.dato@gmail.com> | 2024-10-13 19:57:49 -0300 |
commit | 4a4e956c26d2f73534e504c36e2ca6a2617644b8 (patch) | |
tree | 72bc232f93514b3206da986e4d4aad1e3024e7d8 /test/Makefile.am | |
parent | 37e2f4899b5d3e594c1080e25c04b40bc29d53a4 (diff) | |
download | libtuberia-4a4e956c26d2f73534e504c36e2ca6a2617644b8.tar.gz |
adding tests for the main library
Diffstat (limited to 'test/Makefile.am')
-rw-r--r-- | test/Makefile.am | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am new file mode 100644 index 0000000..4800141 --- /dev/null +++ b/test/Makefile.am @@ -0,0 +1,33 @@ +check_PROGRAMS = +TESTS = +check_HEADERS = test.h + +if TESTS + +if ITCTEST +check_PROGRAMS += test_itc +if VALGRIND +TESTS += test_itc_valgrind +else +TESTS += test_itc +endif +test_itc_SOURCES = test_itc.c test.h +test_itc_LDADD = ../src/libtuberia.a +test_itc_LDFLAGS = -lpthread +endif + +if TUBERIATEST +check_PROGRAMS += test_tuberia +if VALGRIND +TESTS += test_tuberia_valgrind +else +TESTS += test_tuberia +endif + +test_tuberia_SOURCES = test_tuberia.c test.h +test_tuberia_LDADD = ../src/libtuberia.a +test_tuberia_LDFLAGS = -lpthread +endif + +endif + |