Ignore:
Timestamp:
Sep 7, 2011, 7:17:07 PM (9 years ago)
Author:
sam
Message:

test: replace CppUnit with our LolUnit test suite.

CppUnit is really too large for our needs, would require to be precompiled
for many platforms, in all combinations of debug and release modes, with
additional variants for libstdc++ versions. We replace it with our own
lightweight implementation, LolUnit. Good riddance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Makefile.am

    r895 r912  
    11
    22AM_CPPFLAGS = -I$(top_srcdir)/src
    3 
    4 if USE_CPPUNIT
    5 cppunit_tests = lol-test
    6 endif
    73
    84bench: lol-bench$(EXEEXT)
     
    139        test x$(MAKE_FSELF) = xno || make_fself sandbox$(EXEEXT) sandbox.self
    1410        test x$(MAKE_FSELF) = xno || make_fself lol-bench$(EXEEXT) lol-bench.self
     11        test x$(MAKE_FSELF) = xno || make_fself lol-test$(EXEEXT) lol-test.self
    1512
    16 CLEANFILES = quad.self sandbox lol-bench.self
     13CLEANFILES = quad.self sandbox lol-bench.self lol-test.self
    1714
    18 noinst_PROGRAMS = quad sandbox lol-bench $(cppunit_tests)
     15noinst_PROGRAMS = quad sandbox lol-bench lol-test
    1916
    20 TESTS = $(cppunit_tests)
     17TESTS = lol-test
    2118
    2219lol_test_SOURCES = lol-test.cpp matrix.cpp half.cpp trig.cpp
    23 lol_test_CXXFLAGS = $(CPPUNIT_CFLAGS)
    2420lol_test_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
    25 lol_test_LDADD = $(CPPUNIT_LIBS)
    2621lol_test_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
    2722lol_test_DEPENDENCIES = $(top_builddir)/src/liblol.a
Note: See TracChangeset for help on using the changeset viewer.