source: tests/integration/Makefile.am@ 92d0e6

Action_Thermostats Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChemicalSpaceEvaluator Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision
Last change on this file since 92d0e6 was de51d2, checked in by Frederik Heber <heber@…>, 8 years ago

DISTFIX: molecuilder_mpqc still listed in tests/integration/Makefile.am.

  • Property mode set to 100755
File size: 1.8 KB
Line 
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 \
14 $(srcdir)/testsuite-integration-mpqc-jobs.at \
15 $(srcdir)/testsuite-integration-vmg-jobs.at
16endif
17
18EXTRA_DIST = \
19 testsuite.at \
20 $(TESTSUITE) \
21 atlocal.in \
22 molecuilder.in \
23 molecuilder_poolworker.in \
24 package.m4 \
25 pre \
26 $(TESTSCRIPTS)
27
28if CONDJOBMARKET
29max_jobs = 8
30
31check-local: atconfig atlocal $(TESTSUITE) $(TESTSCRIPTS)
32 nrjobs=; \
33 for flag in $$MAKEFLAGS; do \
34 case $$flag in \
35 --* | =*=) ;; \
36 *j*) nrjobs="-j$(max_jobs)" ;; \
37 esac; \
38 done; \
39 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(abs_top_builddir)/src' $(TESTSUITEFLAGS)
40
41installcheck-local: atconfig atlocal $(TESTSUITE)
42 nrjobs=; \
43 for flag in $$MAKEFLAGS; do \
44 case $$flag in \
45 --* | =*=) ;; \
46 *j*) nrjobs="-j$(max_jobs)" ;; \
47 esac; \
48 done; \
49 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(bindir)' $(TESTSUITEFLAGS)
50
51clean-local:
52 test ! -f '$(TESTSUITE)' || \
53 $(SHELL) '$(TESTSUITE)' --clean
54
55AUTOTEST = $(AUTOM4TE) --language=autotest
56$(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
57 $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
58 mv $@.tmp $@
59endif
60
61# The `:;' works around a Bash 3.2 bug when the output is not writeable.
62package.m4: $(top_srcdir)/configure.ac
63 :;{ \
64 echo '# Signature of the current package.' && \
65 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
66 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
67 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
68 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
69 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
70 } >'package.m4'
Note: See TracBrowser for help on using the repository browser.