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