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