source: tests/CodeChecks/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: 1.7 KB
RevLine 
[d0a719]1AUTOM4TE = autom4te
2
[0f44e1b]3TESTSUITE = $(srcdir)/testsuite
[689639]4
[56f73b]5TESTSCRIPTS = \
[c62e27]6 testsuite-action_present_in_userguide.at \
[39f4c46]7 testsuite-config_h.at \
8 testsuite-date_in_dox.at \
[e85bf2]9 testsuite-globallistofactions_hpp.at \
[0f44e1b]10 testsuite-header-dist.at \
[abae35]11 testsuite-memdebug.at \
[d5f7b8]12 testsuite-project-disclaimer.at \
13 testsuite-testsuite-in-makefile.at
[d0a719]14
[0f44e1b]15DISTCLEANFILES = atconfig
16
17EXTRA_DIST = \
18 atlocal.in \
19 package.m4 \
20 testsuite.at \
21 $(TESTSUITE) \
22 $(TESTSCRIPTS)
23
[854a1e]24max_jobs = 8
[d0a719]25
26check-local: atlocal package.m4 $(TESTSUITE)
27 nrjobs=; \
28 for flag in $$MAKEFLAGS; do \
29 case $$flag in \
30 --* | =*=) ;; \
31 *j*) nrjobs="-j$(max_jobs)" ;; \
32 esac; \
33 done; \
[39f4c46]34 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(abs_top_builddir)/src' $(TESTSUITEFLAGS)
[d0a719]35
36installcheck-local: atconfig atlocal $(TESTSUITE)
[39f4c46]37 nrjobs=; \
38 for flag in $$MAKEFLAGS; do \
39 case $$flag in \
40 --* | =*=) ;; \
41 *j*) nrjobs="-j$(max_jobs)" ;; \
42 esac; \
43 done; \
44 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(bindir)' $(TESTSUITEFLAGS)
[d0a719]45
46clean-local:
47 test ! -f '$(TESTSUITE)' || \
48 $(SHELL) '$(TESTSUITE)' --clean
49
50AUTOTEST = $(AUTOM4TE) --language=autotest
[a08d660]51$(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
[d0a719]52 $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
53 mv $@.tmp $@
54
55# The `:;' works around a Bash 3.2 bug when the output is not writeable.
[61749d1]56package.m4: $(top_srcdir)/configure.ac
[d0a719]57 :;{ \
58 echo '# Signature of the current package.' && \
59 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
60 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
61 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
62 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
63 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
[5ffa05]64 } >'package.m4'
Note: See TracBrowser for help on using the repository browser.