Home | History | Annotate | Download | only in tests
      1 AM_CFLAGS = -Wall -D_DEBUG -I../lib
      2 AM_CXXFLAGS = -Wall -Weffc++ -D_DEBUG -I../lib
      3 
      4 TESTS = \
      5   unit-test \
      6   io-test \
      7   vector-test \
      8   tail-test \
      9   trie-test \
     10   c-test
     11 
     12 check_PROGRAMS = $(TESTS)
     13 
     14 noinst_HEADERS = assert.h
     15 
     16 unit_test_SOURCES = unit-test.cc
     17 unit_test_LDADD = ../lib/libmarisa.a
     18 
     19 io_test_SOURCES = io-test.cc
     20 io_test_LDADD = ../lib/libmarisa.a
     21 
     22 vector_test_SOURCES = vector-test.cc
     23 vector_test_LDADD = ../lib/libmarisa.a
     24 
     25 tail_test_SOURCES = tail-test.cc
     26 tail_test_LDADD = ../lib/libmarisa.a
     27 
     28 trie_test_SOURCES = trie-test.cc
     29 trie_test_LDADD = ../lib/libmarisa.a
     30 
     31 c_test_SOURCES = c-test.c
     32 c_test_LDADD = ../lib/libmarisa.a -lstdc++
     33