- Timestamp:
- Apr 19, 2008, 4:07:54 PM (15 years ago)
- Location:
- libcaca/trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/configure.ac
r2299 r2301 85 85 AC_ARG_ENABLE(doc, 86 86 [ --enable-doc build documentation (needs doxygen and LaTeX)]) 87 AC_ARG_ENABLE(cppunit, 88 [ --enable-cppunit use cppunit for unit tests (autodetected)]) 87 89 AC_ARG_ENABLE(zzuf, 88 90 [ --enable-zzuf use zzuf for fuzzing tests (autodetected)]) … … 452 454 AM_CONDITIONAL(USE_LATEX, test "${LATEX}" != "no") 453 455 456 # Use cppunit for unit tests? 457 CPPUNIT="no" 458 PKG_CHECK_MODULES(CPPUNIT, cppunit, [CPPUNIT="yes"], [AC_MSG_RESULT(no)]) 459 AM_CONDITIONAL(USE_CPPUNIT, test "$CPPUNIT" != "no") 460 454 461 # Use zzuf for fuzzing tests? 455 462 ZZUF="no" -
libcaca/trunk/tests/.gitignore
r2103 r2301 1 1 simple 2 cucul-test -
libcaca/trunk/tests/Makefile.am
r2299 r2301 3 3 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -I../cucul 4 4 5 TESTS = simple 5 if USE_CPPUNIT 6 cppunit_tests = cucul-test 7 endif 6 8 7 check_PROGRAMS = simple 9 noinst_PROGRAMS = simple $(cppunit_tests) 10 11 TESTS = $(noinst_PROGRAMS) 8 12 9 13 simple_SOURCES = simple.c 10 14 simple_LDADD = ../cucul/libcucul.la 11 15 16 cucul_test_SOURCES = cucul-test.cpp canvas.cpp 17 cucul_test_CPPFLAGS = $(CPPUNIT_CFLAGS) 18 cucul_test_LDADD = ../cucul/libcucul.la $(CPPUNIT_LIBS) 19
Note: See TracChangeset
for help on using the changeset viewer.