Changeset a6e550e in git for libpolys/tests/Makefile.am


Ignore:
Timestamp:
Nov 23, 2011, 1:35:15 AM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
44a76c7b8b83fea0aa35d33df2503c7b6bff68c0
Parents:
a250e13617385a559db923e0de676ba0f95b2b87
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-23 01:35:15+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-23 01:56:36+01:00
Message:
static and dynamic tests for libpoly/tests/

ADD: all test variants: static & dynamic in addition to debug & release (libpolys/tests)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/tests/Makefile.am

    ra250e1 ra6e550e  
    77endif
    88
    9 ## for testing...
    10 AM_LDFLAGS = -L${top_builddir}/polys -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc
    119
    12 
    13 AM_CFLAGS = -g -Wextra -Wall -Wno-long-long ${PIPE}
    14 ## -pedantic
    15 
    16 AM_CXXFLAGS = $(AM_CFLAGS) ${CXXTEMPLFLAGS}
    1710
    1811INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} ${FACTORY_CFLAGS} ${GMP_CFLAGS} ${NTL_CFLAGS}
    1912
     13TESTS = simple_test \
     14    coeffs_test_s_r coeffs_test_s_g coeffs_test_d_r coeffs_test_d_g \
     15    polys_test_s_r polys_test_s_g polys_test_d_r polys_test_d_g \
     16    rings_test_s_r rings_test_s_g rings_test_d_r rings_test_d_g
    2017
    21 TESTS = simple_test coeffs_test rings_test polys_test
    2218check_PROGRAMS = $(TESTS)
    2319
    2420nodist_simple_test_SOURCES = simple_test_runner.cpp
    25 nodist_coeffs_test_SOURCES = coeffs_test_runner.cpp
    26 nodist_polys_test_SOURCES = polys_test_runner.cpp
    27 nodist_rings_test_SOURCES = rings_test_runner.cpp
    2821
    29 polys_test_LDFLAGS = ${AM_LDFLAGS} ${USEPPROCSDYNAMICLDFLAGS}
    30 rings_test_LDFLAGS = $(polys_test_LDFLAGS)
     22nodist_coeffs_test_s_r_SOURCES = coeffs_test_runner.cpp
     23nodist_polys_test_s_r_SOURCES = polys_test_runner.cpp
     24nodist_rings_test_s_r_SOURCES = rings_test_runner.cpp
    3125
    32 coeffs_test_LDADD = -lcoeffs_g -lresources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g ${NTL_LIBS} ${GMP_LIBS}
    33 polys_test_LDADD = -lpolys_g ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc_g ${NTL_LIBS} ${GMP_LIBS}
    34 rings_test_LDADD = $(polys_test_LDADD)
     26nodist_coeffs_test_s_g_SOURCES = coeffs_test_runner.cpp
     27nodist_polys_test_s_g_SOURCES = polys_test_runner.cpp
     28nodist_rings_test_s_g_SOURCES = rings_test_runner.cpp
     29
     30
     31nodist_coeffs_test_d_r_SOURCES = coeffs_test_runner.cpp
     32nodist_polys_test_d_r_SOURCES = polys_test_runner.cpp
     33nodist_rings_test_d_r_SOURCES = rings_test_runner.cpp
     34
     35nodist_coeffs_test_d_g_SOURCES = coeffs_test_runner.cpp
     36nodist_polys_test_d_g_SOURCES = polys_test_runner.cpp
     37nodist_rings_test_d_g_SOURCES = rings_test_runner.cpp
     38
     39
     40
     41RELEASECFLAGS = -O3 -fomit-frame-pointer ${PIPE}
     42RELEASECXXFLAGS = -O3 -fomit-frame-pointer --no-rtti ${PIPE}
     43RELEASECPPFLAGS = -DNDEBUG -DOM_NDEBUG
     44
     45coeffs_test_s_r_CFLAGS =${RELEASECFLAGS}
     46polys_test_s_r_CFLAGS = ${RELEASECFLAGS}
     47rings_test_s_r_CFLAGS = ${RELEASECFLAGS}
     48
     49coeffs_test_d_r_CFLAGS =${RELEASECFLAGS}
     50polys_test_d_r_CFLAGS = ${RELEASECFLAGS}
     51rings_test_d_r_CFLAGS = ${RELEASECFLAGS}
     52
     53
     54coeffs_test_s_r_CXXFLAGS =${RELEASECXXFLAGS}
     55polys_test_s_r_CXXFLAGS = ${RELEASECXXFLAGS}
     56rings_test_s_r_CXXFLAGS = ${RELEASECXXFLAGS}
     57
     58coeffs_test_d_r_CXXFLAGS =${RELEASECXXFLAGS}
     59polys_test_d_r_CXXFLAGS = ${RELEASECXXFLAGS}
     60rings_test_d_r_CXXFLAGS = ${RELEASECXXFLAGS}
     61
     62
     63coeffs_test_s_r_CPPFLAGS =${RELEASECPPFLAGS}
     64polys_test_s_r_CPPFLAGS = ${RELEASECPPFLAGS}
     65rings_test_s_r_CPPFLAGS = ${RELEASECPPFLAGS}
     66
     67coeffs_test_d_r_CPPFLAGS =${RELEASECPPFLAGS}
     68polys_test_d_r_CPPFLAGS = ${RELEASECPPFLAGS}
     69rings_test_d_r_CPPFLAGS = ${RELEASECPPFLAGS}
     70
     71
     72###  -pedantic
     73DEBUGCFLAGS = $(AM_CFLAGS) -g -Wextra -Wall -Wno-long-long ${PIPE}
     74DEBUGCXXFLAGS = $(AM_CXXFLAGS) ${DEBUGCFLAGS} ${CXXTEMPLFLAGS}
     75
     76
     77coeffs_test_s_g_CFLAGS =${DEBUGCFLAGS}
     78polys_test_s_g_CFLAGS = ${DEBUGCFLAGS}
     79rings_test_s_g_CFLAGS = ${DEBUGCFLAGS}
     80
     81coeffs_test_d_g_CFLAGS =${DEBUGCFLAGS}
     82polys_test_d_g_CFLAGS = ${DEBUGCFLAGS}
     83rings_test_d_g_CFLAGS = ${DEBUGCFLAGS}
     84
     85coeffs_test_s_g_CXXFLAGS =${DEBUGCXXFLAGS}
     86polys_test_s_g_CXXFLAGS = ${DEBUGCXXFLAGS}
     87rings_test_s_g_CXXFLAGS = ${DEBUGCXXFLAGS}
     88
     89coeffs_test_d_g_CXXFLAGS =${DEBUGCXXFLAGS}
     90polys_test_d_g_CXXFLAGS = ${DEBUGCXXFLAGS}
     91rings_test_d_g_CXXFLAGS = ${DEBUGCXXFLAGS}
     92
     93
     94
     95AM_LDFLAGS = -L${top_builddir}/polys -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc
     96
     97coeffs_test_s_r_LDFLAGS = ${AM_LDFLAGS} -static
     98coeffs_test_s_g_LDFLAGS = ${AM_LDFLAGS} -static
     99
     100
     101polys_test_s_r_LDFLAGS = ${AM_LDFLAGS} ${USEPPROCSDYNAMICLDFLAGS} -static
     102rings_test_s_r_LDFLAGS = $(polys_test_s_r_LDFLAGS)
     103
     104polys_test_s_g_LDFLAGS = ${AM_LDFLAGS} ${USEPPROCSDYNAMICLDFLAGS} -static
     105rings_test_s_g_LDFLAGS = $(polys_test_s_g_LDFLAGS)
     106
     107polys_test_d_r_LDFLAGS = ${AM_LDFLAGS} ${USEPPROCSDYNAMICLDFLAGS}
     108rings_test_d_r_LDFLAGS = $(polys_test_d_r_LDFLAGS)
     109
     110polys_test_d_g_LDFLAGS = ${AM_LDFLAGS} ${USEPPROCSDYNAMICLDFLAGS}
     111rings_test_d_g_LDFLAGS = $(polys_test_d_g_LDFLAGS)
     112
     113
     114coeffs_test_s_r_LDADD = -lcoeffs -lresources -lreporter -lmisc ${FACTORY_LIBS} -lomalloc ${NTL_LIBS} ${GMP_LIBS}
     115polys_test_s_r_LDADD = -lpolys ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc ${NTL_LIBS} ${GMP_LIBS}
     116rings_test_s_r_LDADD = $(polys_test_s_r_LDADD)
     117
     118coeffs_test_s_g_LDADD = -lcoeffs_g -lresources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g ${NTL_LIBS} ${GMP_LIBS}
     119polys_test_s_g_LDADD = -lpolys_g ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc_g ${NTL_LIBS} ${GMP_LIBS}
     120rings_test_s_g_LDADD = $(polys_test_s_g_LDADD)
     121
     122coeffs_test_d_r_LDADD = -lcoeffs -lresources -lreporter -lmisc ${FACTORY_LIBS} -lomalloc ${NTL_LIBS} ${GMP_LIBS}
     123polys_test_d_r_LDADD = -lpolys ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc ${NTL_LIBS} ${GMP_LIBS}
     124rings_test_d_r_LDADD = $(polys_test_d_r_LDADD)
     125
     126coeffs_test_d_g_LDADD = -lcoeffs_g -lresources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g ${NTL_LIBS} ${GMP_LIBS}
     127polys_test_d_g_LDADD = -lpolys_g ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc_g ${NTL_LIBS} ${GMP_LIBS}
     128rings_test_d_g_LDADD = $(polys_test_d_g_LDADD)
     129
     130
     131
     132
     133
    35134
    36135
    37136BUILT_SOURCES = gftables MOD \
    38         $(nodist_simple_test_SOURCES) $(nodist_coeffs_test_SOURCES) $(nodist_rings_test_SOURCES) $(nodist_polys_test_SOURCES)
     137        simple_test_runner.cpp coeffs_test_runner.cpp polys_test_runner.cpp rings_test_runner.cpp
    39138
    40139gftables: ${top_srcdir}/../factory/gftables
Note: See TracChangeset for help on using the changeset viewer.