Changeset 1820e7 in git
- Timestamp:
- Apr 18, 2011, 8:26:33 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 845729b0cdf699d3eba18bc144ad8e14f46e1c99
- Parents:
- d39b74d650b0d8de034ccde6b59b71f5f0ffa2b2
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-04-18 20:26:33+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:17+01:00
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
rd39b74 r1820e7 91 91 stamp-h1 92 92 stamp-h2 93 libpolys/tests/simple_test94 libpolys/tests/simple_test_runner.cpp -
libpolys/coeffs/Makefile.am
rd39b74 r1820e7 39 39 40 40 ## for testing... 41 AM_LDFLAGS = -L${top_builddir}/ ../coeffs -L${top_builddir}/../reporter -L${top_builddir}/../resources -L${top_builddir}/../../omalloc41 AM_LDFLAGS = -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc -L${top_builddir}/../omalloc 42 42 43 43 check_PROGRAMS = test test-g … … 46 46 test_g_SOURCES = test.cc 47 47 48 test_LDADD = libcoeffs.a -lresources -lreporter -lomalloc ${GMP_LIBS}49 test_g_LDADD = libcoeffs_g.a -lresources_g -lreporter_g -lomalloc_debug ${GMP_LIBS}48 test_LDADD = -lcoeffs ${GMP_LIBS} -lresources -lreporter -lmisc -lomalloc 49 test_g_LDADD = -lcoeffs_g ${GMP_LIBS} -lresources_g -lreporter_g -lmisc_g -lomalloc_debug 50 50 51 51 -
libpolys/coeffs/test.cc
rd39b74 r1820e7 1 1 #include "config.h" 2 3 2 #include <misc/auxiliary.h> 3 #include <omalloc/omalloc.h> 4 5 #include <reporter/reporter.h> 4 6 5 7 #include <coeffs/coeffs.h> 6 8 #include <coeffs/numbers.h> 7 #include <reporter/reporter.h>8 #include <omalloc/omalloc.h>9 9 10 10 #include <coeffs/longrat.h> -
libpolys/misc/auxiliary.h
rd39b74 r1820e7 99 99 #ifndef NULL 100 100 #define NULL (0) 101 #endif 102 103 #ifndef NULLp 104 #define NULLp ((void*)NULL) 101 105 #endif 102 106 -
libpolys/tests/Makefile.am
rd39b74 r1820e7 2 2 3 3 ## for testing... 4 AM_LDFLAGS = -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/../omalloc -lcoeffs_g -lresources_g -lreporter_g -lomalloc_debug ${GMP_LIBS} 4 AM_LDFLAGS = -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc -L${top_builddir}/../omalloc 5 5 6 6 7 AM_CFLAGS = -g -Wextra -Wall -Wno-long-long ${PIPE} … … 13 14 INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${srcdir} ${GMP_CFLAGS} 14 15 15 TESTS = simple_test 16 TESTS = simple_test coeffs_test 16 17 check_PROGRAMS = $(TESTS) 17 18 18 19 simple_test_SOURCES = simple_test_runner.cpp 19 20 20 BUILT_SOURCES = $(simple_test_SOURCES) 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 21 28 22 29 # How to generate the test simple_test_runner … … 24 31 ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer $^ 25 32 33 coeffs_test_runner.cpp: coeffs_test.h 34 ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer $^ -
libpolys/tests/cxxtest/TestSuite.h
rd39b74 r1820e7 329 329 // TS_ASSERT_PREDICATE 330 330 # define ___ETS_ASSERT_PREDICATE(f,l,p,x,m) \ 331 CxxTest::doAssertPredicate( (f), (l), #p, p (), #x, (x), (m) )331 CxxTest::doAssertPredicate( (f), (l), #p, p, #x, (x), (m) ) 332 332 # define ___TS_ASSERT_PREDICATE(f,l,p,x,m) \ 333 333 { _TS_TRY { ___ETS_ASSERT_PREDICATE(f,l,p,x,m); } __TS_CATCH(f,l) }
Note: See TracChangeset
for help on using the changeset viewer.