[18eecf] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
[455573] | 4 | check_PROGRAMS =
|
---|
| 5 | noinst_PROGRAMS =
|
---|
| 6 | TESTS =
|
---|
| 7 |
|
---|
| 8 | include ../../src/Actions/unittests/Makefile.am
|
---|
| 9 | include ../../src/Descriptors/unittests/Makefile.am
|
---|
| 10 | include ../../src/Parser/unittests/Makefile.am
|
---|
| 11 | include ../../src/RandomNumbers/unittests/Makefile.am
|
---|
| 12 | include ../../src/Shapes/unittests/Makefile.am
|
---|
| 13 | include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
|
---|
| 14 | include ../../src/UIElements/Menu/unittests/Makefile.am
|
---|
[c0bccb] | 15 |
|
---|
[bf4b9f] | 16 | INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
|
---|
[b9907c] | 17 |
|
---|
[f08ae7] | 18 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
---|
[a0064e] | 19 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
[be90f1] | 20 |
|
---|
[455573] | 21 | GENERALTESTS = \
|
---|
[f844ef] | 22 | AnalysisBondsUnitTest \
|
---|
[9fb860] | 23 | AnalysisCorrelationToPointUnitTest \
|
---|
| 24 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
| 25 | AnalysisPairCorrelationUnitTest \
|
---|
| 26 | BondGraphUnitTest \
|
---|
[f844ef] | 27 | BoxUnitTest \
|
---|
[dfe8ef] | 28 | CountBondsUnitTest \
|
---|
[d7d022] | 29 | ElementUnitTest \
|
---|
[9f632c] | 30 | FormulaUnittest \
|
---|
[dcea0f] | 31 | LinkedCellUnitTest \
|
---|
[9fb860] | 32 | ListOfBondsUnitTest \
|
---|
[f844ef] | 33 | PeriodentafelUnitTest \
|
---|
[9fb860] | 34 | TesselationUnitTest \
|
---|
[e9c677] | 35 | Tesselation_BoundaryTriangleUnitTest \
|
---|
[f649de] | 36 | Tesselation_InOutsideUnitTest \
|
---|
| 37 | WorldTimeUnitTest
|
---|
[4fbca9c] | 38 |
|
---|
[455573] | 39 | # these ones are checked
|
---|
| 40 | TESTS += $(GENERALTESTS)
|
---|
| 41 | # these ones are built for checking only
|
---|
| 42 | check_PROGRAMS += $(GENERALTESTS)
|
---|
| 43 | # ... and not installed
|
---|
| 44 | noinst_PROGRAMS += $(GENERALTESTS) TestRunner
|
---|
[b9907c] | 45 |
|
---|
[f08ae7] | 46 | BOOST_LIB = \
|
---|
| 47 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
[d7d022] | 48 | $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
|
---|
| 49 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
[455573] | 50 |
|
---|
[f4b5b7] | 51 | ALLLIBS = \
|
---|
[455573] | 52 | ../libMolecuilderUI.la \
|
---|
[acbe1b] | 53 | ../libMolecuilder.la \
|
---|
[455573] | 54 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
| 55 | ${CodePatterns_LIBS} \
|
---|
| 56 | $(BOOST_LIB)
|
---|
[4d9c01] | 57 |
|
---|
[9b6b2f] | 58 | TESTSOURCES = \
|
---|
[455573] | 59 | ${ACTIONTESTSSOURCES} \
|
---|
| 60 | ${DESCRIPTORTESTSSOURCES} \
|
---|
| 61 | ${LINEARALGEBRATESTSSOURCES} \
|
---|
| 62 | ${PARSERTESTSSOURCES} \
|
---|
| 63 | ${RANDOMNUMBERTESTSSOURCES} \
|
---|
| 64 | ${SHAPETESTSSOURCES} \
|
---|
| 65 | $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
|
---|
| 66 | ${UIELEMENTSMENUTESTSSOURCES} \
|
---|
[f844ef] | 67 | AnalysisBondsUnitTest.cpp \
|
---|
[9b6b2f] | 68 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 69 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 70 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
[f844ef] | 71 | BondGraphUnitTest.cpp \
|
---|
| 72 | BoxUnitTest.cpp \
|
---|
[5f612ee] | 73 | CountBondsUnitTest.cpp \
|
---|
[d7d022] | 74 | ElementUnitTest.cpp \
|
---|
[f844ef] | 75 | FormulaUnitTest.cpp \
|
---|
[5f612ee] | 76 | LinkedCellUnitTest.cpp \
|
---|
[f844ef] | 77 | ListOfBondsUnitTest.cpp \
|
---|
| 78 | PeriodentafelUnitTest.cpp \
|
---|
| 79 | TesselationUnitTest.cpp \
|
---|
| 80 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 81 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
[f649de] | 82 | WorldTimeUnitTest.cpp
|
---|
[9b6b2f] | 83 |
|
---|
| 84 | TESTHEADERS = \
|
---|
[455573] | 85 | ${ACTIONTESTSHEADERS} \
|
---|
| 86 | ${DESCRIPTORTESTSHEADERS} \
|
---|
| 87 | ${LINEARALGEBRATESTSHEADERS} \
|
---|
| 88 | ${PARSERTESTSHEADERS} \
|
---|
| 89 | ${RANDOMNUMBERTESTSHEADERS} \
|
---|
| 90 | ${SHAPETESTSHEADERS} \
|
---|
| 91 | $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
|
---|
| 92 | ${UIELEMENTSMENUTESTSHEADERS} \
|
---|
[f844ef] | 93 | AnalysisBondsUnitTest.hpp \
|
---|
[5f612ee] | 94 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
| 95 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
| 96 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
[f844ef] | 97 | BondGraphUnitTest.hpp \
|
---|
| 98 | BoxUnitTest.hpp \
|
---|
[5f612ee] | 99 | CountBondsUnitTest.hpp \
|
---|
[d7d022] | 100 | ElementUnitTest.hpp \
|
---|
[f844ef] | 101 | FormulaUnitTest.hpp \
|
---|
[5f612ee] | 102 | LinkedCellUnitTest.hpp \
|
---|
[f844ef] | 103 | ListOfBondsUnitTest.hpp \
|
---|
| 104 | PeriodentafelUnitTest.hpp \
|
---|
| 105 | TesselationUnitTest.hpp \
|
---|
| 106 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
| 107 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
[bf4b9f] | 108 | WorldTimeUnitTest.hpp
|
---|
[9fb860] | 109 |
|
---|
[9b6b2f] | 110 |
|
---|
[f844ef] | 111 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 112 | AnalysisBondsUnitTest.cpp \
|
---|
| 113 | AnalysisBondsUnitTest.hpp
|
---|
| 114 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[96c961] | 115 |
|
---|
[f844ef] | 116 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 117 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 118 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
[4d9c01] | 119 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 120 |
|
---|
[f844ef] | 121 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 122 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 123 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
[4d9c01] | 124 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 125 |
|
---|
[f844ef] | 126 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 127 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
| 128 | AnalysisPairCorrelationUnitTest.hpp
|
---|
[4d9c01] | 129 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c111db] | 130 |
|
---|
[f844ef] | 131 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 132 | BondGraphUnitTest.cpp \
|
---|
| 133 | BondGraphUnitTest.hpp
|
---|
[4d9c01] | 134 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 135 |
|
---|
[f844ef] | 136 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 137 | BoxUnitTest.cpp \
|
---|
| 138 | BoxUnitTest.hpp
|
---|
| 139 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
[77bc4f] | 140 |
|
---|
[f844ef] | 141 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 142 | CountBondsUnitTest.cpp \
|
---|
| 143 | CountBondsUnitTest.hpp
|
---|
[5f612ee] | 144 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
| 145 |
|
---|
[d7d022] | 146 | ElementUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 147 | ElementUnitTest.cpp \
|
---|
| 148 | ../element.cpp \
|
---|
| 149 | ElementUnitTest.hpp \
|
---|
| 150 | ../element.hpp
|
---|
| 151 | ElementUnitTest_LDADD = \
|
---|
| 152 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
| 153 |
|
---|
[f844ef] | 154 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 155 | FormulaUnitTest.cpp \
|
---|
| 156 | FormulaUnitTest.hpp
|
---|
[9f632c] | 157 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
| 158 |
|
---|
[f844ef] | 159 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 160 | LinkedCellUnitTest.cpp \
|
---|
| 161 | LinkedCellUnitTest.hpp
|
---|
[5f612ee] | 162 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 163 |
|
---|
[f844ef] | 164 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 165 | ListOfBondsUnitTest.cpp \
|
---|
| 166 | ListOfBondsUnitTest.hpp
|
---|
[4d9c01] | 167 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[266237] | 168 |
|
---|
[f844ef] | 169 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 170 | PeriodentafelUnitTest.cpp \
|
---|
| 171 | PeriodentafelUnitTest.hpp
|
---|
| 172 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
[4eb4fe] | 173 |
|
---|
[f844ef] | 174 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 175 | TesselationUnitTest.cpp \
|
---|
| 176 | TesselationUnitTest.hpp
|
---|
[4d9c01] | 177 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c15ca2] | 178 |
|
---|
[f844ef] | 179 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 180 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 181 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
[4d9c01] | 182 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
[e9c677] | 183 |
|
---|
[f844ef] | 184 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 185 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
| 186 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
[4d9c01] | 187 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
[d96277] | 188 |
|
---|
[f649de] | 189 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 190 | WorldTimeUnitTest.cpp \
|
---|
| 191 | WorldTimeUnitTest.hpp \
|
---|
| 192 | ../WorldTime.cpp \
|
---|
| 193 | ../WorldTime.hpp
|
---|
| 194 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
|
---|
| 195 |
|
---|
| 196 |
|
---|
[36166d] | 197 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
[b37436] | 198 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[7a1ce5] | 199 |
|
---|
[18eecf] | 200 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|