Makefile.am 483 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
AM_COLOR_TESTS = yes

# add OpenMP to flags for test programs
AM_CFLAGS = -fopenmp -I$(top_srcdir)/src
AM_LDFLAGS = -fopenmp ../src/libaml.la

# valgrind support
if TEST_VALGRIND
TESTS_ENVIRONMENT= @LIBTOOL@ --mode=execute @VALGRIND@ --tool=memcheck -q --leak-check=full
endif

12 13
# unit tests
UNIT_TESTS = arena area
14

15 16 17 18 19
# fonctional tests
FUNC_TESTS = stream_add_pth stream_add_omp stream_vanilla

# all tests
TST_PROGS = $(UNIT_TESTS)
20 21
check_PROGRAMS = $(TST_PROGS)
TESTS = $(TST_PROGS)