spielwiese
Last change
on this file since 1820e7 was
1820e7,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: more unit tests via CxxTest and related changes
FIX: NULLp for (void*)NULL + minor changes
|
-
Property mode set to
100644
|
File size:
1008 bytes
|
Line | |
---|
1 | CXXTEMPLFLAGS = --no-exceptions ## -fno-implicit-templates |
---|
2 | |
---|
3 | ## for testing... |
---|
4 | AM_LDFLAGS = -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc -L${top_builddir}/../omalloc |
---|
5 | |
---|
6 | |
---|
7 | AM_CFLAGS = -g -Wextra -Wall -Wno-long-long ${PIPE} |
---|
8 | ## -pedantic |
---|
9 | |
---|
10 | AM_CXXFLAGS = $(AM_CFLAGS) ${CXXTEMPLFLAGS} |
---|
11 | |
---|
12 | AM_CPPFLAGS = -DHAVE_CONFIG_H |
---|
13 | |
---|
14 | INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${srcdir} ${GMP_CFLAGS} |
---|
15 | |
---|
16 | TESTS = simple_test coeffs_test |
---|
17 | check_PROGRAMS = $(TESTS) |
---|
18 | |
---|
19 | simple_test_SOURCES = simple_test_runner.cpp |
---|
20 | |
---|
21 | coeffs_test_SOURCES = coeffs_test_runner.cpp |
---|
22 | |
---|
23 | coeffs_test_LDADD = -lcoeffs_g ${GMP_LIBS} -lresources_g -lreporter_g -lmisc -lomalloc_debug |
---|
24 | |
---|
25 | |
---|
26 | BUILT_SOURCES = $(simple_test_SOURCES) $(coeffs_test_SOURCES) |
---|
27 | |
---|
28 | |
---|
29 | # How to generate the test simple_test_runner |
---|
30 | simple_test_runner.cpp: simple_test.h |
---|
31 | ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer $^ |
---|
32 | |
---|
33 | coeffs_test_runner.cpp: coeffs_test.h |
---|
34 | ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer $^ |
---|
Note: See
TracBrowser
for help on using the repository browser.