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