[b2b47f] | 1 | AUTOM4TE = autom4te
|
---|
[490038] | 2 | EXTRA_DIST = \
|
---|
| 3 | testsuite*.at \
|
---|
| 4 | $(TESTSUITE) \
|
---|
| 5 | atlocal.in \
|
---|
| 6 | molecuider.in \
|
---|
| 7 | Analysis \
|
---|
| 8 | Domain \
|
---|
| 9 | Filling \
|
---|
| 10 | Fragmentation \
|
---|
| 11 | Graph \
|
---|
| 12 | Molecules \
|
---|
[3f9eba] | 13 | RandomNumbers \
|
---|
[512f85] | 14 | Selection \
|
---|
[490038] | 15 | Simple_configuration \
|
---|
| 16 | Tesselation
|
---|
[b2b47f] | 17 | TESTSUITE = $(srcdir)/testsuite
|
---|
| 18 |
|
---|
[512f85] | 19 | TESTSCRIPTS = \
|
---|
[cd7a87] | 20 | $(srcdir)/Analysis/testsuite-analysis.at \
|
---|
| 21 | $(srcdir)/Analysis/testsuite-analysis-pair-correlation.at \
|
---|
| 22 | $(srcdir)/Analysis/testsuite-analysis-point-correlation.at \
|
---|
| 23 | $(srcdir)/Analysis/testsuite-analysis-surface-correlation.at \
|
---|
[4782599] | 24 | $(srcdir)/Analysis/PrincipalAxisSystem/testsuite-analysis-principal-axis-system.at \
|
---|
[cd7a87] | 25 | $(srcdir)/Analysis/testsuite-analysis-angular-dipole-correlation-empty.at \
|
---|
| 26 | $(srcdir)/Analysis/testsuite-analysis-angular-dipole-correlation-discrete-angles.at \
|
---|
| 27 | $(srcdir)/Analysis/testsuite-analysis-angular-dipole-correlation-random-distribution.at \
|
---|
[512f85] | 28 | $(srcdir)/testsuite-domain.at \
|
---|
[d6f886] | 29 | $(srcdir)/Filling/testsuite-filling.at \
|
---|
| 30 | $(srcdir)/Filling/testsuite-fill-with-molecule.at \
|
---|
| 31 | $(srcdir)/Filling/testsuite-suspend-in-water.at \
|
---|
| 32 | $(srcdir)/Filling/testsuite-fill-void-with-molecule.at \
|
---|
[512f85] | 33 | $(srcdir)/testsuite-fragmentation.at \
|
---|
| 34 | $(srcdir)/testsuite-graph.at \
|
---|
| 35 | $(srcdir)/testsuite-molecules.at \
|
---|
| 36 | $(srcdir)/testsuite-simple_configuration.at \
|
---|
[3f9eba] | 37 | $(srcdir)/RandomNumbers/testsuite-randomnumbers.at \
|
---|
| 38 | $(srcdir)/RandomNumbers/Distribution/testsuite-set-random-number-distribution.at \
|
---|
| 39 | $(srcdir)/RandomNumbers/Engine/testsuite-set-random-number-engine.at \
|
---|
[512f85] | 40 | $(srcdir)/Selection/testsuite-selection.at \
|
---|
| 41 | $(srcdir)/Selection/Atoms/testsuite-selection-all-atoms.at \
|
---|
| 42 | $(srcdir)/Selection/Atoms/testsuite-selection-atoms-by-element.at \
|
---|
| 43 | $(srcdir)/Selection/Atoms/testsuite-selection-atom-by-id.at \
|
---|
| 44 | $(srcdir)/Selection/Atoms/testsuite-selection-atoms-inside-cuboid.at \
|
---|
| 45 | $(srcdir)/Selection/Atoms/testsuite-selection-atoms-inside-sphere.at \
|
---|
| 46 | $(srcdir)/Selection/Atoms/testsuite-selection-atoms-of-molecule.at \
|
---|
| 47 | $(srcdir)/Selection/Atoms/testsuite-selection-clear-atoms.at \
|
---|
[c77ac8] | 48 | $(srcdir)/Selection/Molecules/testsuite-selection-all-molecules.at \
|
---|
| 49 | $(srcdir)/Selection/Molecules/testsuite-selection-clear-molecules.at \
|
---|
| 50 | $(srcdir)/Selection/Molecules/testsuite-selection-molecules-by-formula.at \
|
---|
| 51 | $(srcdir)/Selection/Molecules/testsuite-selection-molecule-by-id.at \
|
---|
| 52 | $(srcdir)/Selection/Molecules/testsuite-selection-molecules-by-name.at \
|
---|
| 53 | $(srcdir)/Selection/Molecules/testsuite-selection-molecules-of-atoms.at \
|
---|
[512f85] | 54 | $(srcdir)/testsuite-specifics.at \
|
---|
| 55 | $(srcdir)/testsuite-standard_options.at \
|
---|
| 56 | $(srcdir)/testsuite-tesselation.at
|
---|
| 57 |
|
---|
| 58 |
|
---|
[97b825] | 59 | max_jobs = 4
|
---|
| 60 |
|
---|
[b2b47f] | 61 | check-local: atconfig atlocal package.m4 $(TESTSUITE)
|
---|
[458447] | 62 | nrjobs=; \
|
---|
[97b825] | 63 | for flag in $$MAKEFLAGS; do \
|
---|
| 64 | case $$flag in \
|
---|
| 65 | --* | =*=) ;; \
|
---|
[458447] | 66 | *j*) nrjobs="-j$(max_jobs)" ;; \
|
---|
[97b825] | 67 | esac; \
|
---|
[458447] | 68 | done; \
|
---|
| 69 | $(SHELL) '$(TESTSUITE)' $$nrjobs $(TESTSUITEFLAGS)
|
---|
[b2b47f] | 70 |
|
---|
| 71 | installcheck-local: atconfig atlocal $(TESTSUITE)
|
---|
[97b825] | 72 | $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \
|
---|
| 73 | $(TESTSUITEFLAGS)
|
---|
| 74 |
|
---|
[b2b47f] | 75 | clean-local:
|
---|
[97b825] | 76 | test ! -f '$(TESTSUITE)' || \
|
---|
| 77 | $(SHELL) '$(TESTSUITE)' --clean
|
---|
[b2b47f] | 78 |
|
---|
| 79 | AUTOTEST = $(AUTOM4TE) --language=autotest
|
---|
[512f85] | 80 | $(TESTSUITE): $(srcdir)/testsuite.at $(TESTSCRIPTS)
|
---|
[97b825] | 81 | $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
|
---|
| 82 | mv $@.tmp $@
|
---|
[b2b47f] | 83 |
|
---|
| 84 | # The `:;' works around a Bash 3.2 bug when the output is not writeable.
|
---|
| 85 | $(srcdir)/package.m4: $(top_srcdir)/configure.ac
|
---|
[97b825] | 86 | :;{ \
|
---|
| 87 | echo '# Signature of the current package.' && \
|
---|
| 88 | echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
|
---|
| 89 | echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
|
---|
| 90 | echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
|
---|
| 91 | echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
|
---|
| 92 | echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
|
---|
| 93 | } >'$(srcdir)/package.m4'
|
---|