Changeset 8872ef in git


Ignore:
Timestamp:
May 23, 2011, 6:15:06 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
Children:
e14941cb3862f30b460fab62e0c485f193ab781a
Parents:
6b61be3f07f87c754ee15d7bb06800f58b963592
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-05-23 18:15:06+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:48+01:00
Message:
FIX: enable testing without factory
Location:
libpolys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/Makefile.am

    r6b61be r8872ef  
    3838
    3939
     40if ENABLE_FACTORY
     41  USE_FACTORY = -L${top_builddir}/../factory
     42else
     43  USE_FACTORY =
     44endif
    4045
    4146## for testing...
    42 AM_LDFLAGS      = -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc -L${top_builddir}/../factory -L${top_builddir}/../omalloc
     47AM_LDFLAGS = -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc
    4348
    44 check_PROGRAMS = test test-g
    4549
    46 test_SOURCES   = test.cc
    47 test_g_SOURCES = test.cc
     50TESTS = test test-g
     51check_PROGRAMS = $(TESTS)
     52
     53test_SOURCES   = test.cc gftables
     54test_g_SOURCES = test.cc gftables
    4855
    4956test_LDADD   = -lcoeffs ${GMP_LIBS} ${NTL_LIBS} -lresources -lreporter -lmisc ${FACTORY_LIBS} -lomalloc
     
    6168test_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H
    6269test_g_CPPFLAGS = -DHAVE_CONFIG_H
     70
     71gftables: ${top_srcdir}/../factory/gftables
     72        ln -snf ${top_srcdir}/../factory/gftables ${builddir}
  • libpolys/tests/Makefile.am

    r6b61be r8872ef  
    11CXXTEMPLFLAGS = -O0 --no-exceptions ## -fno-implicit-templates
    22
     3if ENABLE_FACTORY
     4  USE_FACTORY = -L${top_builddir}/../factory
     5else
     6  USE_FACTORY =
     7endif
     8
    39## for testing...
    4 AM_LDFLAGS = -L${top_builddir}/polys -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc -L${top_builddir}/../factory -L${top_builddir}/../omalloc
     10AM_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
    511
    612
     
    1824check_PROGRAMS = $(TESTS)
    1925
    20 simple_test_SOURCES = simple_test_runner.cpp gftables
     26simple_test_SOURCES = simple_test_runner.cpp
    2127coeffs_test_SOURCES = coeffs_test_runner.cpp gftables
    2228polys_test_SOURCES = polys_test_runner.cpp gftables
    2329rings_test_SOURCES = rings_test_runner.cpp gftables
     30
    2431
    2532
Note: See TracChangeset for help on using the changeset viewer.