source: tests/JobMarket/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 854a1e, checked in by Frederik Heber <heber@…>, 8 years ago

Increased max_jobs to 8 for all testsuite's Makefiles.am.

  • running eight jobs maxes the usage on my current test machines and also is not too much too ask for in terms of parallel processes on fewer cores.
  • Property mode set to 100755
File size: 2.0 KB
Line 
1AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te
2
3if CONDJOBMARKET
4mpqc_SOURCES = mpqc.cpp
5mpqc_CPPFLAGS = $(AM_CPPFLAGS) ${CodePatterns_CFLAGS} $(BOOST_CPPFLAGS)
6mpqc_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS}
7mpqc_LDADD = \
8 ${CodePatterns_LIBS}
9
10noinst_PROGRAMS = mpqc
11endif
12
13if CONDJOBMARKET
14TESTSUITE = $(srcdir)/testsuite
15endif
16
17DISTCLEANFILES = atconfig
18
19TESTSCRIPTS =
20
21if CONDJOBMARKET
22TESTSCRIPTS += \
23 $(srcdir)/testsuite-jobmarket.at \
24 $(srcdir)/testsuite-jobmarket-molecuilderrun.at \
25 $(srcdir)/testsuite-jobmarket-mpqc-jobs.at \
26 $(srcdir)/testsuite-jobmarket-stand-in-mpqc.at
27endif
28
29EXTRA_DIST = \
30 testsuite.at \
31 $(TESTSUITE) \
32 atlocal.in \
33 molecuilder.in \
34 package.m4 \
35 pre \
36 $(TESTSCRIPTS)
37
38if CONDJOBMARKET
39max_jobs = 8
40
41check-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='$(abs_top_builddir)/src' $(TESTSUITEFLAGS)
50
51installcheck-local: atconfig atlocal $(TESTSUITE)
52 nrjobs=; \
53 for flag in $$MAKEFLAGS; do \
54 case $$flag in \
55 --* | =*=) ;; \
56 *j*) nrjobs="-j$(max_jobs)" ;; \
57 esac; \
58 done; \
59 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(bindir)' $(TESTSUITEFLAGS)
60
61clean-local:
62 test ! -f '$(TESTSUITE)' || \
63 $(SHELL) '$(TESTSUITE)' --clean
64
65AUTOTEST = $(AUTOM4TE) --language=autotest
66$(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
67 $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
68 mv $@.tmp $@
69endif
70
71# The `:;' works around a Bash 3.2 bug when the output is not writeable.
72package.m4: $(top_srcdir)/configure.ac
73 :;{ \
74 echo '# Signature of the current package.' && \
75 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
76 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
77 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
78 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
79 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
80 } >'package.m4'
Note: See TracBrowser for help on using the repository browser.