| 1 | INCLUDES = -I$(top_srcdir)/src
|
|---|
| 2 |
|
|---|
| 3 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
|---|
| 4 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
|---|
| 5 |
|
|---|
| 6 | MENUTESTS = ActionSequenceTest
|
|---|
| 7 |
|
|---|
| 8 | TESTS = \
|
|---|
| 9 | ActOnAllUnitTest \
|
|---|
| 10 | AnalysisBondsUnitTests \
|
|---|
| 11 | AnalysisCorrelationToPointUnitTest \
|
|---|
| 12 | AnalysisCorrelationToSurfaceUnitTest \
|
|---|
| 13 | AnalysisPairCorrelationUnitTest \
|
|---|
| 14 | BondGraphUnitTest \
|
|---|
| 15 | GSLMatrixSymmetricUnitTest \
|
|---|
| 16 | GSLMatrixUnitTest \
|
|---|
| 17 | GSLVectorUnitTest \
|
|---|
| 18 | InfoUnitTest \
|
|---|
| 19 | LinearSystemOfEquationsUnitTest \
|
|---|
| 20 | ListOfBondsUnitTest \
|
|---|
| 21 | LogUnitTest \
|
|---|
| 22 | MemoryUsageObserverUnitTest \
|
|---|
| 23 | MemoryAllocatorUnitTest \
|
|---|
| 24 | StackClassUnitTest \
|
|---|
| 25 | TesselationUnitTest \
|
|---|
| 26 | Tesselation_BoundaryTriangleUnitTest \
|
|---|
| 27 | Tesselation_InOutsideUnitTest \
|
|---|
| 28 | VectorUnitTest \
|
|---|
| 29 | ObserverTest \
|
|---|
| 30 | CacheableTest \
|
|---|
| 31 | DescriptorUnittest \
|
|---|
| 32 | MatrixUnitTest \
|
|---|
| 33 | ${MENUTESTS}
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | check_PROGRAMS = $(TESTS)
|
|---|
| 37 | noinst_PROGRAMS = $(TESTS) TestRunner
|
|---|
| 38 |
|
|---|
| 39 | GSLLIBS = ../libgslwrapper.a
|
|---|
| 40 | ALLLIBS = ../libmolecuilder.a ${GSLLIBS} $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
|---|
| 41 |
|
|---|
| 42 | TESTSOURCES = \
|
|---|
| 43 | ActOnAllUnitTest.cpp \
|
|---|
| 44 | analysisbondsunittest.cpp \
|
|---|
| 45 | AnalysisCorrelationToPointUnitTest.cpp \
|
|---|
| 46 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
|---|
| 47 | AnalysisPairCorrelationUnitTest.cpp \
|
|---|
| 48 | bondgraphunittest.cpp \
|
|---|
| 49 | gslmatrixsymmetricunittest.cpp \
|
|---|
| 50 | gslmatrixunittest.cpp \
|
|---|
| 51 | gslvectorunittest.cpp \
|
|---|
| 52 | infounittest.cpp \
|
|---|
| 53 | linearsystemofequationsunittest.cpp \
|
|---|
| 54 | listofbondsunittest.cpp \
|
|---|
| 55 | logunittest.cpp \
|
|---|
| 56 | memoryallocatorunittest.cpp \
|
|---|
| 57 | memoryusageobserverunittest.cpp \
|
|---|
| 58 | stackclassunittest.cpp \
|
|---|
| 59 | tesselationunittest.cpp \
|
|---|
| 60 | tesselation_boundarytriangleunittest.cpp \
|
|---|
| 61 | tesselation_insideoutsideunittest.cpp \
|
|---|
| 62 | vectorunittest.cpp \
|
|---|
| 63 | ActionSequenceTest.cpp \
|
|---|
| 64 | ObserverTest.cpp \
|
|---|
| 65 | CacheableTest.cpp \
|
|---|
| 66 | DescriptorUnittest.cpp \
|
|---|
| 67 | MatrixUnitTest.cpp
|
|---|
| 68 |
|
|---|
| 69 | TESTHEADERS = \
|
|---|
| 70 | analysis_correlation.hpp
|
|---|
| 71 |
|
|---|
| 72 | ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
|
|---|
| 73 | ActOnAllUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 74 |
|
|---|
| 75 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
|---|
| 76 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
|---|
| 77 |
|
|---|
| 78 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
|---|
| 79 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 80 |
|
|---|
| 81 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
|---|
| 82 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 83 |
|
|---|
| 84 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
|---|
| 85 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 86 |
|
|---|
| 87 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
|---|
| 88 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 89 |
|
|---|
| 90 | GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
|
|---|
| 91 | GSLMatrixSymmetricUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 92 |
|
|---|
| 93 | GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
|
|---|
| 94 | GSLMatrixUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 95 |
|
|---|
| 96 | GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
|
|---|
| 97 | GSLVectorUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 98 |
|
|---|
| 99 | InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
|
|---|
| 100 | InfoUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 101 |
|
|---|
| 102 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
|
|---|
| 103 | LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 104 |
|
|---|
| 105 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
|---|
| 106 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 107 |
|
|---|
| 108 | LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
|
|---|
| 109 | LogUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 110 |
|
|---|
| 111 | MemoryAllocatorUnitTest_SOURCES = UnitTestMain.cpp memoryallocatorunittest.cpp memoryallocatorunittest.hpp
|
|---|
| 112 | MemoryAllocatorUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 113 |
|
|---|
| 114 | MemoryUsageObserverUnitTest_SOURCES = UnitTestMain.cpp memoryusageobserverunittest.cpp memoryusageobserverunittest.hpp
|
|---|
| 115 | MemoryUsageObserverUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 116 |
|
|---|
| 117 | StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
|
|---|
| 118 | StackClassUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 119 |
|
|---|
| 120 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
|---|
| 121 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 122 |
|
|---|
| 123 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
|---|
| 124 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 125 |
|
|---|
| 126 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
|---|
| 127 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 128 |
|
|---|
| 129 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
|---|
| 130 | VectorUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 131 |
|
|---|
| 132 | ActionSequenceTest_SOURCES = UnitTestMain.cpp ../../../TestRunnerClient.hpp ActionSequenceTest.cpp ActionSequenceTest.hpp
|
|---|
| 133 | ActionSequenceTest_LDADD = ${ALLLIBS}
|
|---|
| 134 |
|
|---|
| 135 | ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
|
|---|
| 136 | ObserverTest_LDADD = ${ALLLIBS}
|
|---|
| 137 |
|
|---|
| 138 | CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
|
|---|
| 139 | CacheableTest_LDADD = ${ALLLIBS}
|
|---|
| 140 |
|
|---|
| 141 | DescriptorUnittest_SOURCES = UnitTestMain.cpp DescriptorUnittest.cpp DescriptorUnittest.hpp
|
|---|
| 142 | DescriptorUnittest_LDADD = ${ALLLIBS}
|
|---|
| 143 |
|
|---|
| 144 | MatrixUnitTest_SOURCES = UnitTestMain.cpp MatrixUnitTest.cpp MatrixUnitTest.hpp
|
|---|
| 145 | MatrixUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 146 |
|
|---|
| 147 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
|---|
| 148 | TestRunner_LDADD = ${ALLLIBS}
|
|---|
| 149 |
|
|---|
| 150 | #AUTOMAKE_OPTIONS = parallel-tests
|
|---|
| 151 |
|
|---|