1 | AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te
|
---|
2 |
|
---|
3 | EXTRA_DIST = \
|
---|
4 | testsuite.at \
|
---|
5 | $(TESTSUITE) \
|
---|
6 | atlocal.in \
|
---|
7 | molecuilder.in \
|
---|
8 | $(srcdir)/package.m4 \
|
---|
9 | Analysis \
|
---|
10 | Atoms \
|
---|
11 | Domain \
|
---|
12 | Filling \
|
---|
13 | Fragmentation \
|
---|
14 | Graph \
|
---|
15 | Molecules \
|
---|
16 | Options \
|
---|
17 | Parser \
|
---|
18 | RandomNumbers \
|
---|
19 | Selection \
|
---|
20 | Tesselation
|
---|
21 |
|
---|
22 | TESTSUITE = $(srcdir)/testsuite
|
---|
23 |
|
---|
24 | DISTCLEANFILES = atconfig
|
---|
25 |
|
---|
26 | TESTSCRIPTS =
|
---|
27 |
|
---|
28 | TESTSCRIPTS += \
|
---|
29 | $(srcdir)/Atoms/testsuite-atoms.at \
|
---|
30 | $(srcdir)/Atoms/Add/testsuite-atoms-add.at \
|
---|
31 | $(srcdir)/Atoms/ChangeElement/testsuite-atoms-change-element.at \
|
---|
32 | $(srcdir)/Atoms/Remove/testsuite-atoms-remove.at \
|
---|
33 | $(srcdir)/Atoms/RemoveSphere/testsuite-atoms-remove-sphere.at \
|
---|
34 | $(srcdir)/Atoms/RemoveCuboid/testsuite-atoms-remove-cuboid.at \
|
---|
35 | $(srcdir)/Atoms/SaveSelectedAtoms/testsuite-atoms-save-selected-atoms.at \
|
---|
36 | $(srcdir)/Atoms/Translation/testsuite-atoms-translation.at \
|
---|
37 | $(srcdir)/Analysis/testsuite-analysis.at \
|
---|
38 | $(srcdir)/Analysis/CalculateBoundingBox/testsuite-analysis-calculate-bounding-box.at \
|
---|
39 | $(srcdir)/Analysis/CalculateCellVolume/testsuite-analysis-calculate-cell-volume.at \
|
---|
40 | $(srcdir)/Analysis/CalculateMolarMass/testsuite-analysis-calculate-molar-mass.at \
|
---|
41 | $(srcdir)/Analysis/DipoleAngularCorrelation/testsuite-analysis-dipole-angular-correlation.at \
|
---|
42 | $(srcdir)/Analysis/DipoleCorrelation-Empty/testsuite-analysis-dipole-correlation-empty.at \
|
---|
43 | $(srcdir)/Analysis/DipoleCorrelation-DiscreteAngles/testsuite-analysis-dipole-correlation-discrete-angles.at \
|
---|
44 | $(srcdir)/Analysis/PairCorrelation/testsuite-analysis-pair-correlation.at \
|
---|
45 | $(srcdir)/Analysis/PairCorrelation-RangeTest/testsuite-analysis-pair-correlation-range-test.at \
|
---|
46 | $(srcdir)/Analysis/PointCorrelation/testsuite-analysis-point-correlation.at \
|
---|
47 | $(srcdir)/Analysis/SurfaceCorrelation/testsuite-analysis-surface-correlation.at \
|
---|
48 | $(srcdir)/Analysis/PrincipalAxisSystem/testsuite-analysis-principal-axis-system.at \
|
---|
49 | $(srcdir)/Domain/testsuite-domain.at \
|
---|
50 | $(srcdir)/Domain/BoundInBox/testsuite-domain-bound-in-box.at \
|
---|
51 | $(srcdir)/Domain/ChangeBox/testsuite-domain-change-box.at \
|
---|
52 | $(srcdir)/Domain/CenterInBox/testsuite-domain-center-in-box.at \
|
---|
53 | $(srcdir)/Domain/AddEmptyBoundary/testsuite-domain-add-empty-boundary.at \
|
---|
54 | $(srcdir)/Domain/CenterOnEdge/testsuite-domain-center-on-edge.at \
|
---|
55 | $(srcdir)/Domain/ScaleBox/testsuite-domain-scale-box.at \
|
---|
56 | $(srcdir)/Domain/SetBoundaryConditions/testsuite-domain-set-boundary-conditions.at \
|
---|
57 | $(srcdir)/Domain/RepeatBox/testsuite-domain-repeat-box.at \
|
---|
58 | $(srcdir)/Filling/testsuite-filling.at \
|
---|
59 | $(srcdir)/Filling/FillWithMolecule/testsuite-fill-with-molecule.at \
|
---|
60 | $(srcdir)/Filling/SuspendInWater/testsuite-suspend-in-water.at \
|
---|
61 | $(srcdir)/Filling/FillVoidWithMolecule/testsuite-fill-void-with-molecule.at \
|
---|
62 | $(srcdir)/Fragmentation/testsuite-fragmentation.at \
|
---|
63 | $(srcdir)/Fragmentation/FragmentMolecule/testsuite-fragmentation-fragment-molecule.at \
|
---|
64 | $(srcdir)/Fragmentation/FragmentMolecule-MaxOrder/testsuite-fragmentation-fragment-molecule-maxorder.at \
|
---|
65 | $(srcdir)/Graph/testsuite-graph.at \
|
---|
66 | $(srcdir)/Graph/DepthFirstSearch/testsuite-graph-depth-first-search.at \
|
---|
67 | $(srcdir)/Graph/SubgraphDissection/testsuite-graph-subgraph-dissection.at \
|
---|
68 | $(srcdir)/Graph/SubgraphDissection-BoundaryConditions/testsuite-graph-subgraph-dissection_boundary-conditions.at \
|
---|
69 | $(srcdir)/Molecules/testsuite-molecules.at \
|
---|
70 | $(srcdir)/Molecules/BondFile/testsuite-molecules-fragmentation-bond-file.at \
|
---|
71 | $(srcdir)/Molecules/BondFile/testsuite-molecules-tremolo-dbond-file.at \
|
---|
72 | $(srcdir)/Molecules/Copy/testsuite-molecules-copy-molecule.at \
|
---|
73 | $(srcdir)/Molecules/CreateMicelle/testsuite-molecules-create-micelle.at \
|
---|
74 | $(srcdir)/Molecules/LinearInterpolationofTrajectories/testsuite-molecules-linear-interpolation-of-trajectories.at \
|
---|
75 | $(srcdir)/Molecules/SaveAdjacency/testsuite-molecules-save-adjacency.at \
|
---|
76 | $(srcdir)/Molecules/SaveBonds/testsuite-molecules-save-bonds.at \
|
---|
77 | $(srcdir)/Molecules/SaveSelectedMolecules/testsuite-molecules-save-selected-molecules.at \
|
---|
78 | $(srcdir)/Molecules/SaveTemperature/testsuite-molecules-save-temperature.at \
|
---|
79 | $(srcdir)/Molecules/VerletIntegration/testsuite-molecules-verlet-integration.at \
|
---|
80 | $(srcdir)/Molecules/Translation/testsuite-molecules-translation.at \
|
---|
81 | $(srcdir)/Molecules/Translation-Periodic/testsuite-molecules-translation-periodic.at \
|
---|
82 | $(srcdir)/Molecules/RotateToPrincipalAxisSystem/testsuite-molecules-rotate-to-principal-axis-system.at \
|
---|
83 | $(srcdir)/Molecules/RotateAroundOrigin/testsuite-molecules-rotate-around-origin.at \
|
---|
84 | $(srcdir)/Molecules/RotateAroundSelf/testsuite-molecules-rotate-around-self.at \
|
---|
85 | $(srcdir)/Options/testsuite-options.at \
|
---|
86 | $(srcdir)/Options/Verbosity/testsuite-options-verbosity.at \
|
---|
87 | $(srcdir)/Options/Warranty/testsuite-options-warranty.at \
|
---|
88 | $(srcdir)/Options/Help/testsuite-options-help.at \
|
---|
89 | $(srcdir)/Options/ElementsDb/testsuite-options-no-elements-db.at \
|
---|
90 | $(srcdir)/Options/ElementsDb/testsuite-options-elements-db.at \
|
---|
91 | $(srcdir)/Options/BondLengthTable/testsuite-options-bond-length-table.at \
|
---|
92 | $(srcdir)/Options/FastParsing/testsuite-options-fast-parsing.at \
|
---|
93 | $(srcdir)/Options/SetDefaultName/testsuite-options-set-default-name.at \
|
---|
94 | $(srcdir)/Options/SetWorldTime/testsuite-options-set-world-time.at \
|
---|
95 | $(srcdir)/Options/Empty/testsuite-options-empty-configs.at \
|
---|
96 | $(srcdir)/Options/InvalidCommands/testsuite-options-invalid-commands.at \
|
---|
97 | $(srcdir)/Parser/testsuite-parser.at \
|
---|
98 | $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc-empty.at \
|
---|
99 | $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc-load.at \
|
---|
100 | $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc-load-multiply.at \
|
---|
101 | $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc-save.at \
|
---|
102 | $(srcdir)/Parser/Pcp/testsuite-parser-pcp-empty.at \
|
---|
103 | $(srcdir)/Parser/Pcp/testsuite-parser-pcp-load.at \
|
---|
104 | $(srcdir)/Parser/Pcp/testsuite-parser-pcp-load-multiply.at \
|
---|
105 | $(srcdir)/Parser/Pcp/testsuite-parser-pcp-multiple-timesteps.at \
|
---|
106 | $(srcdir)/Parser/Pcp/testsuite-parser-pcp-save.at \
|
---|
107 | $(srcdir)/Parser/Pdb/testsuite-parser-pdb-capital_letters_element.at \
|
---|
108 | $(srcdir)/Parser/Pdb/testsuite-parser-pdb-CONECTs_empty_space.at \
|
---|
109 | $(srcdir)/Parser/Pdb/testsuite-parser-pdb-empty.at \
|
---|
110 | $(srcdir)/Parser/Pdb/testsuite-parser-pdb-load.at \
|
---|
111 | $(srcdir)/Parser/Pdb/testsuite-parser-pdb-load-multiply.at \
|
---|
112 | $(srcdir)/Parser/Pdb/testsuite-parser-pdb-load-various.at \
|
---|
113 | $(srcdir)/Parser/Pdb/testsuite-parser-pdb-multiple-timesteps.at \
|
---|
114 | $(srcdir)/Parser/Pdb/testsuite-parser-pdb-save.at \
|
---|
115 | $(srcdir)/Parser/Pdb/testsuite-parser-pdb-with-conects.at \
|
---|
116 | $(srcdir)/Parser/Psi3/testsuite-parser-psi3-empty.at \
|
---|
117 | $(srcdir)/Parser/Psi3/testsuite-parser-psi3-load.at \
|
---|
118 | $(srcdir)/Parser/Psi3/testsuite-parser-psi3-load-multiply.at \
|
---|
119 | $(srcdir)/Parser/Psi3/testsuite-parser-psi3-save.at \
|
---|
120 | $(srcdir)/Parser/SetParameters/Mpqc/testsuite-parser-set-parameters-mpqc.at \
|
---|
121 | $(srcdir)/Parser/SetParameters/Mpqc/testsuite-parser-set-parameters-mpqc-basis.at \
|
---|
122 | $(srcdir)/Parser/SetParameters/Mpqc/testsuite-parser-set-parameters-mpqc-maxiterations.at \
|
---|
123 | $(srcdir)/Parser/SetParameters/Mpqc/testsuite-parser-set-parameters-mpqc-theory.at \
|
---|
124 | $(srcdir)/Parser/SetParameters/Psi3/testsuite-parser-set-parameters-psi3-reference.at \
|
---|
125 | $(srcdir)/Parser/SetParameters/Psi3/testsuite-parser-set-parameters-psi3-wavefunction.at \
|
---|
126 | $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo-empty.at \
|
---|
127 | $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo-load.at \
|
---|
128 | $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo-load-multiply.at \
|
---|
129 | $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo-save.at \
|
---|
130 | $(srcdir)/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials.at \
|
---|
131 | $(srcdir)/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials-load.at \
|
---|
132 | $(srcdir)/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials-save.at \
|
---|
133 | $(srcdir)/Parser/Tremolo-SetAtomdata/testsuite-parser-tremolo-setatomdata.at \
|
---|
134 | $(srcdir)/Parser/Xyz/testsuite-parser-xyz-empty.at \
|
---|
135 | $(srcdir)/Parser/Xyz/testsuite-parser-xyz-load.at \
|
---|
136 | $(srcdir)/Parser/Xyz/testsuite-parser-xyz-load-multiply.at \
|
---|
137 | $(srcdir)/Parser/Xyz/testsuite-parser-xyz-multiple-timesteps.at \
|
---|
138 | $(srcdir)/Parser/Xyz/testsuite-parser-xyz-save.at \
|
---|
139 | $(srcdir)/RandomNumbers/testsuite-randomnumbers.at \
|
---|
140 | $(srcdir)/RandomNumbers/Distribution/testsuite-set-random-number-distribution.at \
|
---|
141 | $(srcdir)/RandomNumbers/Engine/testsuite-set-random-number-engine.at \
|
---|
142 | $(srcdir)/Selection/testsuite-selection.at \
|
---|
143 | $(srcdir)/Selection/Atoms/testsuite-selection-atoms.at \
|
---|
144 | $(srcdir)/Selection/Atoms/AllAtoms/testsuite-selection-select-all-atoms.at \
|
---|
145 | $(srcdir)/Selection/Atoms/AllAtoms/testsuite-selection-unselect-all-atoms.at \
|
---|
146 | $(srcdir)/Selection/Atoms/AllAtomsOfMolecule/testsuite-selection-select-all-atoms-of-molecule.at \
|
---|
147 | $(srcdir)/Selection/Atoms/AllAtomsOfMolecule/testsuite-selection-unselect-all-atoms-of-molecule.at \
|
---|
148 | $(srcdir)/Selection/Atoms/AtomByElement/testsuite-selection-select-atoms-by-element.at \
|
---|
149 | $(srcdir)/Selection/Atoms/AtomByElement/testsuite-selection-unselect-atoms-by-element.at \
|
---|
150 | $(srcdir)/Selection/Atoms/AtomById/testsuite-selection-select-atom-by-id.at \
|
---|
151 | $(srcdir)/Selection/Atoms/AtomById/testsuite-selection-unselect-atom-by-id.at \
|
---|
152 | $(srcdir)/Selection/Atoms/AtomsInsideCuboid/testsuite-selection-select-atoms-inside-cuboid.at \
|
---|
153 | $(srcdir)/Selection/Atoms/AtomsInsideCuboid/testsuite-selection-select-atoms-inside-cuboid-with-defaults.at \
|
---|
154 | $(srcdir)/Selection/Atoms/AtomsInsideCuboid/testsuite-selection-unselect-atoms-inside-cuboid.at \
|
---|
155 | $(srcdir)/Selection/Atoms/AtomsInsideSphere/testsuite-selection-select-atoms-inside-sphere.at \
|
---|
156 | $(srcdir)/Selection/Atoms/AtomsInsideSphere/testsuite-selection-unselect-atoms-inside-sphere.at \
|
---|
157 | $(srcdir)/Selection/Atoms/ClearAtoms/testsuite-selection-clear-atoms.at \
|
---|
158 | $(srcdir)/Selection/Molecules/testsuite-selection-molecules.at \
|
---|
159 | $(srcdir)/Selection/Molecules/AllMolecules/testsuite-selection-select-all-molecules.at \
|
---|
160 | $(srcdir)/Selection/Molecules/AllMolecules/testsuite-selection-unselect-all-molecules.at \
|
---|
161 | $(srcdir)/Selection/Molecules/ClearMolecules/testsuite-selection-clear-molecules.at \
|
---|
162 | $(srcdir)/Selection/Molecules/MoleculeByFormula/testsuite-selection-select-molecules-by-formula.at \
|
---|
163 | $(srcdir)/Selection/Molecules/MoleculeByFormula/testsuite-selection-unselect-molecules-by-formula.at \
|
---|
164 | $(srcdir)/Selection/Molecules/MoleculeById/testsuite-selection-select-molecule-by-id.at \
|
---|
165 | $(srcdir)/Selection/Molecules/MoleculeById/testsuite-selection-unselect-molecule-by-id.at \
|
---|
166 | $(srcdir)/Selection/Molecules/MoleculeByName/testsuite-selection-select-molecules-by-name.at \
|
---|
167 | $(srcdir)/Selection/Molecules/MoleculeByName/testsuite-selection-unselect-molecules-by-name.at \
|
---|
168 | $(srcdir)/Selection/Molecules/MoleculeByOrder/testsuite-selection-select-molecule-by-order-backward.at \
|
---|
169 | $(srcdir)/Selection/Molecules/MoleculeByOrder/testsuite-selection-select-molecule-by-order-forward.at \
|
---|
170 | $(srcdir)/Selection/Molecules/MoleculeByOrder/testsuite-selection-unselect-molecule-by-order-backward.at \
|
---|
171 | $(srcdir)/Selection/Molecules/MoleculeByOrder/testsuite-selection-unselect-molecule-by-order-forward.at \
|
---|
172 | $(srcdir)/Selection/Molecules/MoleculeOfAtom/testsuite-selection-select-atoms-molecules.at \
|
---|
173 | $(srcdir)/Selection/Molecules/MoleculeOfAtom/testsuite-selection-unselect-atoms-molecules.at \
|
---|
174 | $(srcdir)/Tesselation/testsuite-tesselation.at \
|
---|
175 | $(srcdir)/Tesselation/NonConvex/testsuite-tesselation-non-convex-envelope.at \
|
---|
176 | $(srcdir)/Tesselation/Convex/testsuite-tesselation-convex-envelope.at \
|
---|
177 | $(srcdir)/Tesselation/BigNonConvex/testsuite-tesselation-big-non-convex-envelope.at \
|
---|
178 | $(srcdir)/Tesselation/BigConvex/testsuite-tesselation-big-convex-envelope.at
|
---|
179 |
|
---|
180 | max_jobs = 4
|
---|
181 |
|
---|
182 | check-local: atconfig atlocal $(TESTSUITE)
|
---|
183 | nrjobs=; \
|
---|
184 | for flag in $$MAKEFLAGS; do \
|
---|
185 | case $$flag in \
|
---|
186 | --* | =*=) ;; \
|
---|
187 | *j*) nrjobs="-j$(max_jobs)" ;; \
|
---|
188 | esac; \
|
---|
189 | done; \
|
---|
190 | $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(abs_top_builddir)/src' $(TESTSUITEFLAGS)
|
---|
191 |
|
---|
192 | installcheck-local: atconfig atlocal $(TESTSUITE)
|
---|
193 | nrjobs=; \
|
---|
194 | for flag in $$MAKEFLAGS; do \
|
---|
195 | case $$flag in \
|
---|
196 | --* | =*=) ;; \
|
---|
197 | *j*) nrjobs="-j$(max_jobs)" ;; \
|
---|
198 | esac; \
|
---|
199 | done; \
|
---|
200 | $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(bindir)' $(TESTSUITEFLAGS)
|
---|
201 |
|
---|
202 | clean-local:
|
---|
203 | test ! -f '$(TESTSUITE)' || \
|
---|
204 | $(SHELL) '$(TESTSUITE)' --clean
|
---|
205 |
|
---|
206 | AUTOTEST = $(AUTOM4TE) --language=autotest
|
---|
207 | $(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
|
---|
208 | $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
|
---|
209 | mv $@.tmp $@
|
---|
210 |
|
---|
211 | # The `:;' works around a Bash 3.2 bug when the output is not writeable.
|
---|
212 | package.m4: $(top_srcdir)/configure.ac
|
---|
213 | :;{ \
|
---|
214 | echo '# Signature of the current package.' && \
|
---|
215 | echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
|
---|
216 | echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
|
---|
217 | echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
|
---|
218 | echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
|
---|
219 | echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
|
---|
220 | } >'$(srcdir)/package.m4'
|
---|