| [b2b47f] | 1 | AUTOM4TE = autom4te
|
|---|
| [490038] | 2 | EXTRA_DIST = \
|
|---|
| [768459] | 3 | testsuite.at \
|
|---|
| [490038] | 4 | $(TESTSUITE) \
|
|---|
| 5 | atlocal.in \
|
|---|
| [61749d1] | 6 | CheckCommand.sh \
|
|---|
| [c8cfe3] | 7 | molecuilder.in \
|
|---|
| [61749d1] | 8 | package.m4 \
|
|---|
| [490038] | 9 | Analysis \
|
|---|
| [d445e4] | 10 | Atoms \
|
|---|
| [490038] | 11 | Domain \
|
|---|
| 12 | Filling \
|
|---|
| 13 | Fragmentation \
|
|---|
| 14 | Graph \
|
|---|
| 15 | Molecules \
|
|---|
| [0a2b34] | 16 | Options \
|
|---|
| [f2230e] | 17 | Parser \
|
|---|
| [3f9eba] | 18 | RandomNumbers \
|
|---|
| [512f85] | 19 | Selection \
|
|---|
| [490038] | 20 | Tesselation
|
|---|
| [b2b47f] | 21 | TESTSUITE = $(srcdir)/testsuite
|
|---|
| 22 |
|
|---|
| [512f85] | 23 | TESTSCRIPTS = \
|
|---|
| [d445e4] | 24 | $(srcdir)/Atoms/testsuite-atoms.at \
|
|---|
| 25 | $(srcdir)/Atoms/Add/testsuite-atoms-add.at \
|
|---|
| 26 | $(srcdir)/Atoms/ChangeElement/testsuite-atoms-change-element.at \
|
|---|
| 27 | $(srcdir)/Atoms/Remove/testsuite-atoms-remove.at \
|
|---|
| 28 | $(srcdir)/Atoms/RemoveInsideSphere/testsuite-atoms-remove-inside-sphere.at \
|
|---|
| 29 | $(srcdir)/Atoms/RemoveInsideCuboid/testsuite-atoms-remove-inside-cuboid.at \
|
|---|
| [fe6f20] | 30 | $(srcdir)/Atoms/SaveSelectedAtoms/testsuite-atoms-save-selected-atoms.at \
|
|---|
| [d445e4] | 31 | $(srcdir)/Atoms/Translation/testsuite-atoms-translation.at \
|
|---|
| [cd7a87] | 32 | $(srcdir)/Analysis/testsuite-analysis.at \
|
|---|
| [ad28ef] | 33 | $(srcdir)/Analysis/PairCorrelation/testsuite-analysis-pair-correlation.at \
|
|---|
| 34 | $(srcdir)/Analysis/PairCorrelation-RangeTest/testsuite-analysis-pair-correlation-range-test.at \
|
|---|
| 35 | $(srcdir)/Analysis/PointCorrelation/testsuite-analysis-point-correlation.at \
|
|---|
| 36 | $(srcdir)/Analysis/SurfaceCorrelation/testsuite-analysis-surface-correlation.at \
|
|---|
| [4782599] | 37 | $(srcdir)/Analysis/PrincipalAxisSystem/testsuite-analysis-principal-axis-system.at \
|
|---|
| [ad28ef] | 38 | $(srcdir)/Analysis/AngularDipoleCorrelation-Empty/testsuite-analysis-angular-dipole-correlation-empty.at \
|
|---|
| 39 | $(srcdir)/Analysis/AngularDipoleCorrelation-DiscreteAngles/testsuite-analysis-angular-dipole-correlation-discrete-angles.at \
|
|---|
| [8a957e] | 40 | $(srcdir)/Domain/testsuite-domain.at \
|
|---|
| 41 | $(srcdir)/Domain/ChangeBox/testsuite-domain-change-box.at \
|
|---|
| 42 | $(srcdir)/Domain/CenterInBox/testsuite-domain-center-in-box.at \
|
|---|
| 43 | $(srcdir)/Domain/AddEmptyBoundary/testsuite-domain-add-empty-boundary.at \
|
|---|
| 44 | $(srcdir)/Domain/CenterOnEdge/testsuite-domain-center-on-edge.at \
|
|---|
| 45 | $(srcdir)/Domain/ScaleBox/testsuite-domain-scale-box.at \
|
|---|
| 46 | $(srcdir)/Domain/RepeatBox/testsuite-domain-repeat-box.at \
|
|---|
| [d6f886] | 47 | $(srcdir)/Filling/testsuite-filling.at \
|
|---|
| [08e6c8] | 48 | $(srcdir)/Filling/FillWithMolecule/testsuite-fill-with-molecule.at \
|
|---|
| 49 | $(srcdir)/Filling/SuspendInWater/testsuite-suspend-in-water.at \
|
|---|
| 50 | $(srcdir)/Filling/FillVoidWithMolecule/testsuite-fill-void-with-molecule.at \
|
|---|
| [17f3cd] | 51 | $(srcdir)/Fragmentation/testsuite-fragmentation.at \
|
|---|
| [7811bf] | 52 | $(srcdir)/Fragmentation/FragmentMolecule/testsuite-fragmentation-fragment-molecule.at \
|
|---|
| 53 | $(srcdir)/Fragmentation/FragmentMolecule-MaxOrder/testsuite-fragmentation-fragment-molecule-maxorder.at \
|
|---|
| [70269a] | 54 | $(srcdir)/Graph/testsuite-graph.at \
|
|---|
| 55 | $(srcdir)/Graph/DepthFirstSearch/testsuite-graph-depth-first-search.at \
|
|---|
| 56 | $(srcdir)/Graph/SubgraphDissection/testsuite-graph-subgraph-dissection.at \
|
|---|
| [967b3c] | 57 | $(srcdir)/Molecules/testsuite-molecules.at \
|
|---|
| [fe6f20] | 58 | $(srcdir)/Molecules/SaveSelectedMolecules/testsuite-molecules-save-selected-molecules.at \
|
|---|
| [967b3c] | 59 | $(srcdir)/Molecules/BondFile/testsuite-molecules-bond-file.at \
|
|---|
| 60 | $(srcdir)/Molecules/SaveAdjacency/testsuite-molecules-save-adjacency.at \
|
|---|
| 61 | $(srcdir)/Molecules/SaveBonds/testsuite-molecules-save-bonds.at \
|
|---|
| 62 | $(srcdir)/Molecules/SaveTemperature/testsuite-molecules-save-temperature.at \
|
|---|
| 63 | $(srcdir)/Molecules/LinearInterpolationofTrajectories/testsuite-molecules-linear-interpolation-of-trajectories.at \
|
|---|
| 64 | $(srcdir)/Molecules/VerletIntegration/testsuite-molecules-verlet-integration.at \
|
|---|
| 65 | $(srcdir)/Molecules/Translation/testsuite-molecules-translation.at \
|
|---|
| 66 | $(srcdir)/Molecules/Translation-Periodic/testsuite-molecules-translation-periodic.at \
|
|---|
| 67 | $(srcdir)/Molecules/RotateToPrincipalAxisSystem/testsuite-molecules-rotate-to-principal-axis-system.at \
|
|---|
| 68 | $(srcdir)/Molecules/RotateAroundOrigin/testsuite-molecules-rotate-around-origin.at \
|
|---|
| 69 | $(srcdir)/Molecules/RotateAroundSelf/testsuite-molecules-rotate-around-self.at \
|
|---|
| 70 | $(srcdir)/Molecules/Copy/testsuite-molecules-copy-molecule.at \
|
|---|
| [0a2b34] | 71 | $(srcdir)/Options/testsuite-options.at \
|
|---|
| [2700983] | 72 | $(srcdir)/Options/Verbosity/testsuite-options-verbosity.at \
|
|---|
| 73 | $(srcdir)/Options/Warranty/testsuite-options-warranty.at \
|
|---|
| 74 | $(srcdir)/Options/Help/testsuite-options-help.at \
|
|---|
| 75 | $(srcdir)/Options/ElementsDb/testsuite-options-no-elements-db.at \
|
|---|
| 76 | $(srcdir)/Options/ElementsDb/testsuite-options-elements-db.at \
|
|---|
| 77 | $(srcdir)/Options/BondLengthTable/testsuite-options-bond-length-table.at \
|
|---|
| 78 | $(srcdir)/Options/FastParsing/testsuite-options-fast-parsing.at \
|
|---|
| 79 | $(srcdir)/Options/SetDefaultName/testsuite-options-set-default-name.at \
|
|---|
| [aa04ae] | 80 | $(srcdir)/Options/SetWorldTime/testsuite-options-set-world-time.at \
|
|---|
| [2700983] | 81 | $(srcdir)/Options/Empty/testsuite-options-empty-configs.at \
|
|---|
| 82 | $(srcdir)/Options/InvalidCommands/testsuite-options-invalid-commands.at \
|
|---|
| [f2230e] | 83 | $(srcdir)/Parser/testsuite-parser.at \
|
|---|
| 84 | $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc.at \
|
|---|
| [963321a] | 85 | $(srcdir)/Parser/Mpqc-SetParameters/testsuite-parser-mpqc-set-parameters.at \
|
|---|
| [f2230e] | 86 | $(srcdir)/Parser/Pcp/testsuite-parser-pcp.at \
|
|---|
| 87 | $(srcdir)/Parser/Pdb/testsuite-parser-pdb.at \
|
|---|
| 88 | $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo.at \
|
|---|
| [4217e7] | 89 | $(srcdir)/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials.at \
|
|---|
| [f2230e] | 90 | $(srcdir)/Parser/Xyz/testsuite-parser-xyz.at \
|
|---|
| [3f9eba] | 91 | $(srcdir)/RandomNumbers/testsuite-randomnumbers.at \
|
|---|
| 92 | $(srcdir)/RandomNumbers/Distribution/testsuite-set-random-number-distribution.at \
|
|---|
| 93 | $(srcdir)/RandomNumbers/Engine/testsuite-set-random-number-engine.at \
|
|---|
| [512f85] | 94 | $(srcdir)/Selection/testsuite-selection.at \
|
|---|
| [170ba6] | 95 | $(srcdir)/Selection/Atoms/testsuite-selection-atoms.at \
|
|---|
| [b9bfa6] | 96 | $(srcdir)/Selection/Atoms/AllAtoms/testsuite-selection-all-atoms.at \
|
|---|
| 97 | $(srcdir)/Selection/Atoms/AllAtomsOfMolecule/testsuite-selection-all-atoms-of-molecule.at \
|
|---|
| 98 | $(srcdir)/Selection/Atoms/AtomByElement/testsuite-selection-atoms-by-element.at \
|
|---|
| 99 | $(srcdir)/Selection/Atoms/AtomById/testsuite-selection-atom-by-id.at \
|
|---|
| 100 | $(srcdir)/Selection/Atoms/AtomsInsideCuboid/testsuite-selection-atoms-inside-cuboid.at \
|
|---|
| 101 | $(srcdir)/Selection/Atoms/AtomsInsideSphere/testsuite-selection-atoms-inside-sphere.at \
|
|---|
| 102 | $(srcdir)/Selection/Atoms/ClearAtoms/testsuite-selection-clear-atoms.at \
|
|---|
| [170ba6] | 103 | $(srcdir)/Selection/Molecules/testsuite-selection-molecules.at \
|
|---|
| [b9bfa6] | 104 | $(srcdir)/Selection/Molecules/AllMolecules/testsuite-selection-all-molecules.at \
|
|---|
| 105 | $(srcdir)/Selection/Molecules/ClearMolecules/testsuite-selection-clear-molecules.at \
|
|---|
| 106 | $(srcdir)/Selection/Molecules/MoleculeByFormula/testsuite-selection-molecules-by-formula.at \
|
|---|
| 107 | $(srcdir)/Selection/Molecules/MoleculeById/testsuite-selection-molecule-by-id.at \
|
|---|
| 108 | $(srcdir)/Selection/Molecules/MoleculeByName/testsuite-selection-molecules-by-name.at \
|
|---|
| [170ba6] | 109 | $(srcdir)/Selection/Molecules/MoleculeByOrder/testsuite-selection-molecule-by-order.at \
|
|---|
| [b9bfa6] | 110 | $(srcdir)/Selection/Molecules/MoleculeOfAtom/testsuite-selection-atoms-molecules.at \
|
|---|
| [881c05] | 111 | $(srcdir)/Tesselation/testsuite-tesselation.at \
|
|---|
| 112 | $(srcdir)/Tesselation/NonConvex/testsuite-tesselation-non-convex-envelope.at \
|
|---|
| 113 | $(srcdir)/Tesselation/Convex/testsuite-tesselation-convex-envelope.at \
|
|---|
| 114 | $(srcdir)/Tesselation/BigNonConvex/testsuite-tesselation-big-non-convex-envelope.at \
|
|---|
| 115 | $(srcdir)/Tesselation/BigConvex/testsuite-tesselation-big-convex-envelope.at
|
|---|
| [512f85] | 116 |
|
|---|
| 117 |
|
|---|
| [97b825] | 118 | max_jobs = 4
|
|---|
| 119 |
|
|---|
| [b2b47f] | 120 | check-local: atconfig atlocal package.m4 $(TESTSUITE)
|
|---|
| [458447] | 121 | nrjobs=; \
|
|---|
| [97b825] | 122 | for flag in $$MAKEFLAGS; do \
|
|---|
| 123 | case $$flag in \
|
|---|
| 124 | --* | =*=) ;; \
|
|---|
| [458447] | 125 | *j*) nrjobs="-j$(max_jobs)" ;; \
|
|---|
| [97b825] | 126 | esac; \
|
|---|
| [458447] | 127 | done; \
|
|---|
| 128 | $(SHELL) '$(TESTSUITE)' $$nrjobs $(TESTSUITEFLAGS)
|
|---|
| [b2b47f] | 129 |
|
|---|
| 130 | installcheck-local: atconfig atlocal $(TESTSUITE)
|
|---|
| [97b825] | 131 | $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \
|
|---|
| 132 | $(TESTSUITEFLAGS)
|
|---|
| 133 |
|
|---|
| [b2b47f] | 134 | clean-local:
|
|---|
| [97b825] | 135 | test ! -f '$(TESTSUITE)' || \
|
|---|
| 136 | $(SHELL) '$(TESTSUITE)' --clean
|
|---|
| [b2b47f] | 137 |
|
|---|
| 138 | AUTOTEST = $(AUTOM4TE) --language=autotest
|
|---|
| [512f85] | 139 | $(TESTSUITE): $(srcdir)/testsuite.at $(TESTSCRIPTS)
|
|---|
| [97b825] | 140 | $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
|
|---|
| 141 | mv $@.tmp $@
|
|---|
| [b2b47f] | 142 |
|
|---|
| 143 | # The `:;' works around a Bash 3.2 bug when the output is not writeable.
|
|---|
| [61749d1] | 144 | package.m4: $(top_srcdir)/configure.ac
|
|---|
| [97b825] | 145 | :;{ \
|
|---|
| 146 | echo '# Signature of the current package.' && \
|
|---|
| 147 | echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
|
|---|
| 148 | echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
|
|---|
| 149 | echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
|
|---|
| 150 | echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
|
|---|
| 151 | echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
|
|---|
| 152 | } >'$(srcdir)/package.m4'
|
|---|