source: tests/Calculations/Makefile.am

Candidate_v1.6.1
Last change on this file 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: 3.6 KB
RevLine 
[abfc95]1AUTOM4TE = autom4te
2
3TESTSUITE = $(srcdir)/testsuite
4
5TESTSCRIPTS = \
6 testsuite-calculations-1_2-dimethoxyethane.at \
7 testsuite-calculations-1_2-dimethylbenzene.at \
8 testsuite-calculations-2-methylcyclohexanone.at \
9 testsuite-calculations-anthracene.at \
10 testsuite-calculations-benzene.at \
11 testsuite-calculations-cholesterol.at \
12 testsuite-calculations-coronene.at \
13 testsuite-calculations-cycloheptane.at \
14 testsuite-calculations-dimethyl_bromomalonate.at \
15 testsuite-calculations-glucose.at \
16 testsuite-calculations-heptan.at \
17 testsuite-calculations-isoleucine.at \
18 testsuite-calculations-mpqc.at \
19 testsuite-calculations-naphthalene.at \
20 testsuite-calculations-neohexane.at \
21 testsuite-calculations-N_N-dimethylacetamide.at \
22 testsuite-calculations-phenanthrene.at \
23 testsuite-calculations-proline.at \
24 testsuite-calculations-putrescine.at \
25 testsuite-calculations-tartaric_acid.at
26
[c2f543]27TESTJOBMARKETSCRIPTS = \
28 testsuite-calculations-jobmarket-1_2-dimethoxyethane.at \
29 testsuite-calculations-jobmarket-1_2-dimethylbenzene.at \
30 testsuite-calculations-jobmarket-2-methylcyclohexanone.at \
31 testsuite-calculations-jobmarket-anthracene.at \
32 testsuite-calculations-jobmarket-benzene.at \
33 testsuite-calculations-jobmarket-cholesterol.at \
34 testsuite-calculations-jobmarket-coronene.at \
35 testsuite-calculations-jobmarket-cycloheptane.at \
36 testsuite-calculations-jobmarket-dimethyl_bromomalonate.at \
37 testsuite-calculations-jobmarket-glucose.at \
38 testsuite-calculations-jobmarket-heptan.at \
39 testsuite-calculations-jobmarket-isoleucine.at \
40 testsuite-calculations-jobmarket-mpqc.at \
41 testsuite-calculations-jobmarket-naphthalene.at \
42 testsuite-calculations-jobmarket-neohexane.at \
43 testsuite-calculations-jobmarket-N_N-dimethylacetamide.at \
44 testsuite-calculations-jobmarket-phenanthrene.at \
45 testsuite-calculations-jobmarket-proline.at \
46 testsuite-calculations-jobmarket-putrescine.at \
47 testsuite-calculations-jobmarket-tartaric_acid.at
48
[abfc95]49DISTCLEANFILES = atconfig
50
51EXTRA_DIST = \
52 atlocal.in \
53 package.m4 \
54 testsuite.at \
[c2f543]55 testsuite_jobmarket.at \
[abfc95]56 $(TESTSUITE) \
[c2f543]57 $(TESTSCRIPTS) \
58 $(TESTJOBMARKETSCRIPTS)
[abfc95]59
[854a1e]60max_jobs = 8
[abfc95]61
62
63extracheck: atlocal package.m4 $(TESTSUITE)
64 nrjobs=; \
65 for flag in $$MAKEFLAGS; do \
66 case $$flag in \
67 --* | =*=) ;; \
68 *j*) nrjobs="-j$(max_jobs)" ;; \
69 esac; \
70 done; \
71 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(abs_top_builddir)/src' $(TESTSUITEFLAGS)
72
73installextracheck: atconfig atlocal $(TESTSUITE)
74 nrjobs=; \
75 for flag in $$MAKEFLAGS; do \
76 case $$flag in \
77 --* | =*=) ;; \
78 *j*) nrjobs="-j$(max_jobs)" ;; \
79 esac; \
80 done; \
81 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(bindir)' $(TESTSUITEFLAGS)
82
83
84clean-local:
85 test ! -f '$(TESTSUITE)' || \
86 $(SHELL) '$(TESTSUITE)' --clean
87
88AUTOTEST = $(AUTOM4TE) --language=autotest
[c2f543]89
90if CONDJOBMARKET
91$(TESTSUITE): $(srcdir)/testsuite_jobmarket.at package.m4 $(TESTJOBMARKETSCRIPTS)
92 $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $(srcdir)/testsuite_jobmarket.at
93 mv $@.tmp $@
94else
[abfc95]95$(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
[c2f543]96 $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $(srcdir)/testsuite.at
[abfc95]97 mv $@.tmp $@
[c2f543]98endif
[abfc95]99
100# The `:;' works around a Bash 3.2 bug when the output is not writeable.
101package.m4: $(top_srcdir)/configure.ac
102 :;{ \
103 echo '# Signature of the current package.' && \
104 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
105 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
106 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
107 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
108 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
109 } >'package.m4'
Note: See TracBrowser for help on using the repository browser.