| [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 =
|
|---|
| [53bc04] | 7 | XFAIL_TESTS =
|
|---|
| [455573] | 8 |
|
|---|
| [0cfc27] | 9 | if CONDCPPUNIT
|
|---|
| 10 |
|
|---|
| [455573] | 11 | include ../../src/Actions/unittests/Makefile.am
|
|---|
| [9b5a2c] | 12 | include ../../src/Analysis/unittests/Makefile.am
|
|---|
| [97c2550] | 13 | include ../../src/Atom/unittests/Makefile.am
|
|---|
| [455573] | 14 | include ../../src/Descriptors/unittests/Makefile.am
|
|---|
| [592be9] | 15 | include ../../src/Element/unittests/Makefile.am
|
|---|
| [600a52] | 16 | include ../../src/Filling/unittests/Makefile.am
|
|---|
| [355af8] | 17 | include ../../src/FunctionApproximation/unittests/Makefile.am
|
|---|
| [feb7df] | 18 | include ../../src/Fragmentation/unittests/Makefile.am
|
|---|
| [4694df] | 19 | include ../../src/Fragmentation/Homology/unittests/Makefile.am
|
|---|
| [e920061] | 20 | include ../../src/Fragmentation/Summation/unittests/Makefile.am
|
|---|
| [e06820] | 21 | include ../../src/Fragmentation/SetValues/unittests/Makefile.am
|
|---|
| [629e43] | 22 | include ../../src/Graph/unittests/Makefile.am
|
|---|
| [004d5c] | 23 |
|
|---|
| 24 | if CONDJOBMARKET
|
|---|
| [cc5db5] | 25 | include ../../src/Jobs/unittests/Makefile.am
|
|---|
| [c889b7] | 26 | include ../../src/Jobs/Grid/unittests/Makefile.am
|
|---|
| [004d5c] | 27 | endif
|
|---|
| 28 |
|
|---|
| [91f592] | 29 | include ../../src/LinkedCell/unittests/Makefile.am
|
|---|
| [dbb533] | 30 | include ../../src/Parameters/unittests/Makefile.am
|
|---|
| [455573] | 31 | include ../../src/Parser/unittests/Makefile.am
|
|---|
| [3c1465] | 32 | include ../../src/Potentials/Specifics/unittests/Makefile.am
|
|---|
| [455573] | 33 | include ../../src/RandomNumbers/unittests/Makefile.am
|
|---|
| 34 | include ../../src/Shapes/unittests/Makefile.am
|
|---|
| [0b004b] | 35 | include ../../src/Tesselation/unittests/Makefile.am
|
|---|
| [455573] | 36 | include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
|
|---|
| 37 | include ../../src/UIElements/Menu/unittests/Makefile.am
|
|---|
| [c0bccb] | 38 |
|
|---|
| [004d5c] | 39 | INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
|
|---|
| [b9907c] | 40 |
|
|---|
| [f08ae7] | 41 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
|---|
| [a0064e] | 42 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
|---|
| [be90f1] | 43 |
|
|---|
| [455573] | 44 | GENERALTESTS = \
|
|---|
| [5e6534] | 45 | AtomIdSetUnitTest \
|
|---|
| [f844ef] | 46 | BoxUnitTest \
|
|---|
| [dd067a] | 47 | Box_BoundaryConditionsTest \
|
|---|
| [9f632c] | 48 | FormulaUnittest \
|
|---|
| [9fb860] | 49 | ListOfBondsUnitTest \
|
|---|
| [c67ff9] | 50 | MoleculeUnitTest \
|
|---|
| [f649de] | 51 | WorldTimeUnitTest
|
|---|
| [4fbca9c] | 52 |
|
|---|
| [455573] | 53 | # these ones are checked
|
|---|
| 54 | TESTS += $(GENERALTESTS)
|
|---|
| 55 | # these ones are built for checking only
|
|---|
| 56 | check_PROGRAMS += $(GENERALTESTS)
|
|---|
| 57 | # ... and not installed
|
|---|
| [fbbcde] | 58 | noinst_PROGRAMS += $(GENERALTESTS)
|
|---|
| 59 |
|
|---|
| 60 | if CONDECUT
|
|---|
| 61 | noinst_PROGRAMS += TestRunner
|
|---|
| 62 | endif
|
|---|
| 63 |
|
|---|
| [b9907c] | 64 |
|
|---|
| [f08ae7] | 65 | BOOST_LIB = \
|
|---|
| 66 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| [d7d022] | 67 | $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
|
|---|
| [31ca5f] | 68 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
|
|---|
| 69 | $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
|
|---|
| [455573] | 70 |
|
|---|
| [9d4ff35] | 71 | GENERALLIBS = \
|
|---|
| 72 | ../libMolecuilder.la \
|
|---|
| 73 | ../libMolecuilderHelpers.la \
|
|---|
| 74 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 75 | ${CodePatterns_LIBS} \
|
|---|
| 76 | $(BOOST_LIB)
|
|---|
| 77 |
|
|---|
| [f4b5b7] | 78 | ALLLIBS = \
|
|---|
| [600a52] | 79 | ../libMolecuilderFilling.la \
|
|---|
| [455573] | 80 | ../libMolecuilderUI.la \
|
|---|
| [eb0d77] | 81 | ../libMolecuilder.la
|
|---|
| 82 | if CONDJOBMARKET
|
|---|
| 83 | ALLLIBS += \
|
|---|
| 84 | ../libMolecuilderJobs.la
|
|---|
| 85 | endif
|
|---|
| 86 | ALLLIBS += \
|
|---|
| [455573] | 87 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 88 | ${CodePatterns_LIBS} \
|
|---|
| 89 | $(BOOST_LIB)
|
|---|
| [4d9c01] | 90 |
|
|---|
| [9b6b2f] | 91 | TESTSOURCES = \
|
|---|
| [455573] | 92 | ${ACTIONTESTSSOURCES} \
|
|---|
| [9b5a2c] | 93 | ${ANALYSISTESTSSOURCES} \
|
|---|
| [455573] | 94 | ${DESCRIPTORTESTSSOURCES} \
|
|---|
| [592be9] | 95 | ${ELEMENTTESTSSOURCES} \
|
|---|
| [600a52] | 96 | ${FILLINGTESTSSOURCES} \
|
|---|
| [feb7df] | 97 | ${FRAGMENTATIONTESTSSOURCES} \
|
|---|
| [629e43] | 98 | ${GRAPHTESTSSOURCES} \
|
|---|
| [794bc8] | 99 | ${LINKEDCELLTESTSSOURCES} \
|
|---|
| [455573] | 100 | ${LINEARALGEBRATESTSSOURCES} \
|
|---|
| [dbb533] | 101 | ${PARAMETERTESTSSOURCES} \
|
|---|
| [455573] | 102 | ${PARSERTESTSSOURCES} \
|
|---|
| 103 | ${RANDOMNUMBERTESTSSOURCES} \
|
|---|
| 104 | ${SHAPETESTSSOURCES} \
|
|---|
| [0b004b] | 105 | ${TESSELATIONTESTSSOURCES} \
|
|---|
| [455573] | 106 | $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
|
|---|
| 107 | ${UIELEMENTSMENUTESTSSOURCES} \
|
|---|
| [99f4ee] | 108 | stubs/ObserverStub.cpp \
|
|---|
| [5e6534] | 109 | AtomIdSetUnitTest.cpp \
|
|---|
| [f844ef] | 110 | BoxUnitTest.cpp \
|
|---|
| [dd067a] | 111 | Box_BoundaryConditionsUnitTest.cpp \
|
|---|
| [f844ef] | 112 | FormulaUnitTest.cpp \
|
|---|
| 113 | ListOfBondsUnitTest.cpp \
|
|---|
| [c67ff9] | 114 | MoleculeUnitTest.cpp \
|
|---|
| [f649de] | 115 | WorldTimeUnitTest.cpp
|
|---|
| [9b6b2f] | 116 |
|
|---|
| 117 | TESTHEADERS = \
|
|---|
| [455573] | 118 | ${ACTIONTESTSHEADERS} \
|
|---|
| [9b5a2c] | 119 | ${ANALYSISTESTSHEADERS} \
|
|---|
| [455573] | 120 | ${DESCRIPTORTESTSHEADERS} \
|
|---|
| [592be9] | 121 | ${ELEMENTTESTSHEADERS} \
|
|---|
| [600a52] | 122 | ${FILLINGTESTSHEADERS} \
|
|---|
| [feb7df] | 123 | ${FRAGMENTATIONTESTSHEADERS} \
|
|---|
| [629e43] | 124 | ${GRAPHTESTSHEADERS} \
|
|---|
| [794bc8] | 125 | ${LINKEDCELLTESTHEADERS} \
|
|---|
| [455573] | 126 | ${LINEARALGEBRATESTSHEADERS} \
|
|---|
| [dbb533] | 127 | ${PARAMETERTESTSHEADERS} \
|
|---|
| [455573] | 128 | ${PARSERTESTSHEADERS} \
|
|---|
| 129 | ${RANDOMNUMBERTESTSHEADERS} \
|
|---|
| 130 | ${SHAPETESTSHEADERS} \
|
|---|
| [0b004b] | 131 | ${TESSELATIONTESTSHEADERS} \
|
|---|
| [455573] | 132 | $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
|
|---|
| 133 | ${UIELEMENTSMENUTESTSHEADERS} \
|
|---|
| [99f4ee] | 134 | stubs/ObserverStub.hpp \
|
|---|
| [5e6534] | 135 | AtomIdSetUnitTest.hpp \
|
|---|
| [f844ef] | 136 | BoxUnitTest.hpp \
|
|---|
| [dd067a] | 137 | Box_BoundaryConditionsUnitTest.hpp \
|
|---|
| [f844ef] | 138 | FormulaUnitTest.hpp \
|
|---|
| 139 | ListOfBondsUnitTest.hpp \
|
|---|
| [c67ff9] | 140 | MoleculeUnitTest.hpp \
|
|---|
| [bf4b9f] | 141 | WorldTimeUnitTest.hpp
|
|---|
| [9fb860] | 142 |
|
|---|
| [9b6b2f] | 143 |
|
|---|
| [f844ef] | 144 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 145 | BoxUnitTest.cpp \
|
|---|
| [99f4ee] | 146 | BoxUnitTest.hpp \
|
|---|
| 147 | stubs/ObserverStub.cpp \
|
|---|
| [da1e92] | 148 | stubs/ObserverStub.hpp \
|
|---|
| 149 | ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
|
|---|
| 150 | ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
|
|---|
| [9d4ff35] | 151 | BoxUnitTest_LDADD = \
|
|---|
| 152 | ../libMolecuilder.la \
|
|---|
| 153 | ../libMolecuilderShapes.la \
|
|---|
| 154 | ../libMolecuilderHelpers.la \
|
|---|
| [31ca5f] | 155 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 156 | ${CodePatterns_LIBS}
|
|---|
| [77bc4f] | 157 |
|
|---|
| [5e6534] | 158 | AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 159 | AtomIdSetUnitTest.cpp \
|
|---|
| 160 | AtomIdSetUnitTest.hpp
|
|---|
| 161 | AtomIdSetUnitTest_LDADD = $(ALLLIBS)
|
|---|
| 162 |
|
|---|
| [dd067a] | 163 | Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 164 | Box_BoundaryConditionsUnitTest.cpp \
|
|---|
| 165 | Box_BoundaryConditionsUnitTest.hpp \
|
|---|
| 166 | ../Box_BoundaryConditions.cpp \
|
|---|
| 167 | ../Box_BoundaryConditions.hpp
|
|---|
| 168 | Box_BoundaryConditionsTest_LDADD = \
|
|---|
| 169 | ${CodePatterns_LIBS} \
|
|---|
| 170 | $(BOOST_LIB)
|
|---|
| 171 |
|
|---|
| [f844ef] | 172 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 173 | FormulaUnitTest.cpp \
|
|---|
| 174 | FormulaUnitTest.hpp
|
|---|
| [9d4ff35] | 175 | FormulaUnittest_LDADD = $(ALLLIBS)
|
|---|
| [9f632c] | 176 |
|
|---|
| [f844ef] | 177 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 178 | ListOfBondsUnitTest.cpp \
|
|---|
| 179 | ListOfBondsUnitTest.hpp
|
|---|
| [9d4ff35] | 180 | ListOfBondsUnitTest_LDADD = $(ALLLIBS)
|
|---|
| [266237] | 181 |
|
|---|
| [c67ff9] | 182 | MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 183 | MoleculeUnitTest.cpp \
|
|---|
| 184 | MoleculeUnitTest.hpp
|
|---|
| [eb0d77] | 185 | MoleculeUnitTest_LDADD = $(ALLLIBS)
|
|---|
| [c67ff9] | 186 |
|
|---|
| [f649de] | 187 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 188 | WorldTimeUnitTest.cpp \
|
|---|
| 189 | WorldTimeUnitTest.hpp \
|
|---|
| 190 | ../WorldTime.cpp \
|
|---|
| 191 | ../WorldTime.hpp
|
|---|
| 192 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
|
|---|
| 193 |
|
|---|
| 194 |
|
|---|
| [36166d] | 195 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
|---|
| [b37436] | 196 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
|---|
| [7a1ce5] | 197 |
|
|---|
| [18eecf] | 198 | #AUTOMAKE_OPTIONS = parallel-tests
|
|---|
| [0cfc27] | 199 |
|
|---|
| 200 | endif
|
|---|