diff options
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 + |