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