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