source: git/libpolys/tests/Makefile.am @ 1820e7

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 
1CXXTEMPLFLAGS = --no-exceptions ## -fno-implicit-templates
2
3## for testing...
4AM_LDFLAGS = -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc -L${top_builddir}/../omalloc
5
6
7AM_CFLAGS = -g -Wextra -Wall -Wno-long-long ${PIPE}
8## -pedantic
9
10AM_CXXFLAGS = $(AM_CFLAGS) ${CXXTEMPLFLAGS}
11
12AM_CPPFLAGS = -DHAVE_CONFIG_H
13
14INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${srcdir} ${GMP_CFLAGS}
15
16TESTS = simple_test coeffs_test
17check_PROGRAMS = $(TESTS)
18
19simple_test_SOURCES = simple_test_runner.cpp
20
21coeffs_test_SOURCES = coeffs_test_runner.cpp
22
23coeffs_test_LDADD = -lcoeffs_g ${GMP_LIBS} -lresources_g -lreporter_g -lmisc -lomalloc_debug
24
25
26BUILT_SOURCES = $(simple_test_SOURCES) $(coeffs_test_SOURCES)
27
28
29# How to generate the test simple_test_runner
30simple_test_runner.cpp: simple_test.h
31        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer $^
32
33coeffs_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.