Makefile.am 860 Bytes
Newer Older
1 2
AM_COLOR_TESTS = yes

3 4
AM_CFLAGS = -I$(top_srcdir)/include $(PTHREAD_CFLAGS)
AM_LDFLAGS = ../src/libaml.la $(PTHREAD_LIBS)
5 6 7 8 9 10

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

11
UTILS_TESTS = utils/test_vector \
12 13
	      utils/test_bitmap \
	      utils/test_version
14

15
AREA_TESTS = \
16 17
	area/test_area \
	area/test_linux
18

19 20
TILING_TESTS = tiling/test_tiling \
	       tiling/test_tiling_2d
21

22 23
DMA_LINUX_TESTS = dma/test_dma_linux_seq \
		  dma/test_dma_linux_par
24

25 26
SCRATCH_TESTS = scratch/test_scratch_seq \
		scratch/test_scratch_par
27

28
# unit tests
29
UNIT_TESTS = $(UTILS_TESTS) \
30 31
	     $(TILING_TESTS) \
	     $(BINDING_TESTS) \
32
	     $(AREA_TESTS) \
33 34
	     $(DMA_LINUX_TESTS) \
	     $(SCRATCH_TESTS)
35

36
# all tests
37
TST_PROGS = $(UNIT_TESTS)
38 39
check_PROGRAMS = $(TST_PROGS)
TESTS = $(TST_PROGS)