source: tests/integration/Makefile.am@ c52abd

Candidate_v1.6.1 ChemicalSpaceEvaluator
Last change on this file since c52abd was 53a85a, checked in by Frederik Heber <frederik.heber@…>, 7 years ago

Added integration test on Potential Fitting for water.

  • we fit harmonic_bond and harmonic_angle but the parameters aren't any good naturally. This mostly checks save-homologies and parse-homologies on the MD trajectories.
  • Property mode set to 100755
File size: 2.8 KB
RevLine 
[83fa5c]1AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te
2
3if CONDJOBMARKET
4TESTSUITE = $(srcdir)/testsuite
5endif
6
7DISTCLEANFILES = atconfig
8
9TESTSCRIPTS =
10
11if CONDJOBMARKET
12TESTSCRIPTS += \
13 $(srcdir)/testsuite-integration.at \
[6491d3]14 $(srcdir)/FragmentJobs/testsuite-integration-fragmentjobs.at \
15 $(srcdir)/FragmentJobs/testsuite-integration-fragmentjobs-mpqc-jobs.at \
[0aae02]16 $(srcdir)/FragmentJobs/testsuite-integration-fragmentjobs-vmg-jobs.at \
17 $(srcdir)/MolecularDynamics/testsuite-integration-moleculardynamics.at \
[37fe17]18 $(srcdir)/MolecularDynamics/testsuite-integration-moleculardynamics-water.at \
19 $(srcdir)/MolecularDynamics/testsuite-integration-moleculardynamics-methane.at \
20 $(srcdir)/MolecularDynamics/testsuite-integration-moleculardynamics-ethane.at \
[167523]21 $(srcdir)/MolecularDynamics/testsuite-integration-moleculardynamics-water-system.at \
[53a85a]22 $(srcdir)/PotentialFitting/testsuite-integration-potentialfitting.at \
23 $(srcdir)/PotentialFitting/testsuite-integration-potentialfitting-water.at \
[167523]24 $(srcdir)/StructureOptimization/testsuite-integration-structureoptimization.at \
25 $(srcdir)/StructureOptimization/testsuite-integration-structureoptimization-water.at \
26 $(srcdir)/StructureOptimization/testsuite-integration-structureoptimization-methane.at \
27 $(srcdir)/StructureOptimization/testsuite-integration-structureoptimization-ethane.at
[83fa5c]28endif
29
30EXTRA_DIST = \
31 testsuite.at \
32 $(TESTSUITE) \
33 atlocal.in \
34 molecuilder.in \
[de51d2]35 molecuilder_poolworker.in \
[83fa5c]36 package.m4 \
37 pre \
38 $(TESTSCRIPTS)
39
40if CONDJOBMARKET
[854a1e]41max_jobs = 8
[83fa5c]42
43check-local: atconfig atlocal $(TESTSUITE) $(TESTSCRIPTS)
44 nrjobs=; \
45 for flag in $$MAKEFLAGS; do \
46 case $$flag in \
47 --* | =*=) ;; \
48 *j*) nrjobs="-j$(max_jobs)" ;; \
49 esac; \
50 done; \
51 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(abs_top_builddir)/src' $(TESTSUITEFLAGS)
52
53installcheck-local: atconfig atlocal $(TESTSUITE)
54 nrjobs=; \
55 for flag in $$MAKEFLAGS; do \
56 case $$flag in \
57 --* | =*=) ;; \
58 *j*) nrjobs="-j$(max_jobs)" ;; \
59 esac; \
60 done; \
61 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(bindir)' $(TESTSUITEFLAGS)
62
63clean-local:
64 test ! -f '$(TESTSUITE)' || \
65 $(SHELL) '$(TESTSUITE)' --clean
66
67AUTOTEST = $(AUTOM4TE) --language=autotest
68$(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
69 $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
70 mv $@.tmp $@
71endif
72
73# The `:;' works around a Bash 3.2 bug when the output is not writeable.
74package.m4: $(top_srcdir)/configure.ac
75 :;{ \
76 echo '# Signature of the current package.' && \
77 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
78 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
79 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
80 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
81 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
82 } >'package.m4'
Note: See TracBrowser for help on using the repository browser.