Ignore:
Timestamp:
Apr 19, 2008, 4:07:54 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Use CppUnit? for C and C++ unit tests. Sorry, Jylam.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/tests/Makefile.am

    r2299 r2301  
    33AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -I../cucul
    44
    5 TESTS = simple
     5if USE_CPPUNIT
     6cppunit_tests = cucul-test
     7endif
    68
    7 check_PROGRAMS = simple
     9noinst_PROGRAMS = simple $(cppunit_tests)
     10
     11TESTS = $(noinst_PROGRAMS)
    812
    913simple_SOURCES = simple.c
    1014simple_LDADD = ../cucul/libcucul.la
    1115
     16cucul_test_SOURCES = cucul-test.cpp canvas.cpp
     17cucul_test_CPPFLAGS = $(CPPUNIT_CFLAGS)
     18cucul_test_LDADD = ../cucul/libcucul.la $(CPPUNIT_LIBS)
     19
Note: See TracChangeset for help on using the changeset viewer.