| 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 | atomsCalculationTest \
|
|---|
| 15 | AtomDescriptorTest \
|
|---|
| 16 | BondGraphUnitTest \
|
|---|
| 17 | CacheableTest \
|
|---|
| 18 | GSLMatrixSymmetricUnitTest \
|
|---|
| 19 | GSLMatrixUnitTest \
|
|---|
| 20 | GSLVectorUnitTest \
|
|---|
| 21 | InfoUnitTest \
|
|---|
| 22 | LinearSystemOfEquationsUnitTest \
|
|---|
| 23 | ListOfBondsUnitTest \
|
|---|
| 24 | LogUnitTest \
|
|---|
| 25 | manipulateAtomsTest \
|
|---|
| 26 | MemoryUsageObserverUnitTest \
|
|---|
| 27 | MemoryAllocatorUnitTest \
|
|---|
| 28 | MoleculeDescriptorTest \
|
|---|
| 29 | ObserverTest \
|
|---|
| 30 | SingletonTest \
|
|---|
| 31 | StackClassUnitTest \
|
|---|
| 32 | TesselationUnitTest \
|
|---|
| 33 | Tesselation_BoundaryTriangleUnitTest \
|
|---|
| 34 | Tesselation_InOutsideUnitTest \
|
|---|
| 35 | VectorUnitTest \
|
|---|
| 36 | ${MENUTESTS}
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | check_PROGRAMS = $(TESTS)
|
|---|
| 42 | noinst_PROGRAMS = $(TESTS) TestRunner
|
|---|
| 43 |
|
|---|
| 44 | GSLLIBS = ../libgslwrapper.a
|
|---|
| 45 | ALLLIBS = ../libmolecuilder.a ${GSLLIBS} $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
|---|
| 46 |
|
|---|
| 47 | TESTSOURCES = \
|
|---|
| 48 | ActOnAllUnitTest.cpp \
|
|---|
| 49 | ActionSequenceTest.cpp \
|
|---|
| 50 | analysisbondsunittest.cpp \
|
|---|
| 51 | AnalysisCorrelationToPointUnitTest.cpp \
|
|---|
| 52 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
|---|
| 53 | AnalysisPairCorrelationUnitTest.cpp \
|
|---|
| 54 | AtomDescriptorTest.cpp \
|
|---|
| 55 | atomsCalculationTest.cpp \
|
|---|
| 56 | bondgraphunittest.cpp \
|
|---|
| 57 | CacheableTest.cpp \
|
|---|
| 58 | gslmatrixsymmetricunittest.cpp \
|
|---|
| 59 | gslmatrixunittest.cpp \
|
|---|
| 60 | gslvectorunittest.cpp \
|
|---|
| 61 | infounittest.cpp \
|
|---|
| 62 | linearsystemofequationsunittest.cpp \
|
|---|
| 63 | listofbondsunittest.cpp \
|
|---|
| 64 | logunittest.cpp \
|
|---|
| 65 | manipulateAtomsTest.cpp \
|
|---|
| 66 | memoryallocatorunittest.cpp \
|
|---|
| 67 | memoryusageobserverunittest.cpp \
|
|---|
| 68 | MoleculeDescriptorTest.cpp \
|
|---|
| 69 | ObserverTest.cpp \
|
|---|
| 70 | SingletonTest.cpp \
|
|---|
| 71 | stackclassunittest.cpp \
|
|---|
| 72 | tesselationunittest.cpp \
|
|---|
| 73 | tesselation_boundarytriangleunittest.cpp \
|
|---|
| 74 | tesselation_insideoutsideunittest.cpp \
|
|---|
| 75 | vectorunittest.cpp
|
|---|
| 76 |
|
|---|
| 77 | TESTHEADERS = \
|
|---|
| 78 | analysis_correlation.hpp
|
|---|
| 79 |
|
|---|
| 80 | ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
|
|---|
| 81 | ActOnAllUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 82 |
|
|---|
| 83 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
|---|
| 84 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
|---|
| 85 |
|
|---|
| 86 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
|---|
| 87 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 88 |
|
|---|
| 89 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
|---|
| 90 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 91 |
|
|---|
| 92 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
|---|
| 93 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 94 |
|
|---|
| 95 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
|---|
| 96 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 97 |
|
|---|
| 98 | GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
|
|---|
| 99 | GSLMatrixSymmetricUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 100 |
|
|---|
| 101 | GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
|
|---|
| 102 | GSLMatrixUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 103 |
|
|---|
| 104 | GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
|
|---|
| 105 | GSLVectorUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 106 |
|
|---|
| 107 | InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
|
|---|
| 108 | InfoUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 109 |
|
|---|
| 110 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
|
|---|
| 111 | LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 112 |
|
|---|
| 113 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
|---|
| 114 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 115 |
|
|---|
| 116 | LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
|
|---|
| 117 | LogUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 118 |
|
|---|
| 119 | MemoryAllocatorUnitTest_SOURCES = UnitTestMain.cpp memoryallocatorunittest.cpp memoryallocatorunittest.hpp
|
|---|
| 120 | MemoryAllocatorUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 121 |
|
|---|
| 122 | MemoryUsageObserverUnitTest_SOURCES = UnitTestMain.cpp memoryusageobserverunittest.cpp memoryusageobserverunittest.hpp
|
|---|
| 123 | MemoryUsageObserverUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 124 |
|
|---|
| 125 | MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
|
|---|
| 126 | MoleculeDescriptorTest_LDADD = ${ALLLIBS}
|
|---|
| 127 |
|
|---|
| 128 | SingletonTest_SOURCES = UnitTestMain.cpp SingletonTest.cpp SingletonTest.hpp
|
|---|
| 129 | SingletonTest_LDADD = $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
|---|
| 130 |
|
|---|
| 131 | StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
|
|---|
| 132 | StackClassUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 133 |
|
|---|
| 134 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
|---|
| 135 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 136 |
|
|---|
| 137 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
|---|
| 138 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 139 |
|
|---|
| 140 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
|---|
| 141 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 142 |
|
|---|
| 143 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
|---|
| 144 | VectorUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 145 |
|
|---|
| 146 | ActionSequenceTest_SOURCES = UnitTestMain.cpp ../../../TestRunnerClient.hpp ActionSequenceTest.cpp ActionSequenceTest.hpp
|
|---|
| 147 | ActionSequenceTest_LDADD = ${ALLLIBS}
|
|---|
| 148 |
|
|---|
| 149 | ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
|
|---|
| 150 | ObserverTest_LDADD = ${ALLLIBS}
|
|---|
| 151 |
|
|---|
| 152 | CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
|
|---|
| 153 | CacheableTest_LDADD = ${ALLLIBS}
|
|---|
| 154 |
|
|---|
| 155 | AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
|
|---|
| 156 | AtomDescriptorTest_LDADD = ${ALLLIBS}
|
|---|
| 157 |
|
|---|
| 158 | manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
|
|---|
| 159 | manipulateAtomsTest_LDADD = ${ALLLIBS}
|
|---|
| 160 |
|
|---|
| 161 | atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
|
|---|
| 162 | atomsCalculationTest_LDADD = ${ALLLIBS}
|
|---|
| 163 |
|
|---|
| 164 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
|---|
| 165 | TestRunner_LDADD = ${ALLLIBS}
|
|---|
| 166 |
|
|---|
| 167 | #AUTOMAKE_OPTIONS = parallel-tests
|
|---|
| 168 |
|
|---|