[398fcd] | 1 | AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te
|
---|
| 2 |
|
---|
| 3 | TESTSUITE = $(srcdir)/testsuite
|
---|
| 4 |
|
---|
| 5 | EXTRA_DIST = \
|
---|
| 6 | testsuite.at \
|
---|
| 7 | $(TESTSUITE) \
|
---|
| 8 | atlocal.in \
|
---|
| 9 | checkout.pl \
|
---|
| 10 | molecuilder_mpqc.in \
|
---|
| 11 | package.m4 \
|
---|
| 12 | H2OINPUTS \
|
---|
| 13 | H2OFRQINPUTS \
|
---|
| 14 | H2OMP2INPUTS \
|
---|
| 15 | METHODSINPUTS \
|
---|
| 16 | INPUTINPUTS
|
---|
| 17 |
|
---|
| 18 | DISTCLEANFILES = atconfig
|
---|
| 19 |
|
---|
| 20 | TESTSCRIPTS =
|
---|
| 21 |
|
---|
| 22 | # PLEASE adhere to alphabetical ordering of TESTSCRIPTS
|
---|
| 23 |
|
---|
| 24 | TESTSCRIPTS += \
|
---|
| 25 | H2OINPUTS/testsuite-h2oinputs.at \
|
---|
| 26 | H2OINPUTS/testsuite-h2oinputs-h2o_mp2006311gssc1.at \
|
---|
| 27 | H2OINPUTS/testsuite-h2oinputs-h2o_mp2006311gssc1opt.at \
|
---|
| 28 | H2OINPUTS/testsuite-h2oinputs-h2o_mp2006311gssc2.at \
|
---|
| 29 | H2OINPUTS/testsuite-h2oinputs-h2o_mp2006311gssc2opt.at \
|
---|
| 30 | H2OINPUTS/testsuite-h2oinputs-h2o_mp2006311gssc2v.at \
|
---|
| 31 | H2OINPUTS/testsuite-h2oinputs-h2o_mp2006311gssc2vopt.at \
|
---|
| 32 | H2OINPUTS/testsuite-h2oinputs-h2o_mp200sto3gc1.at \
|
---|
| 33 | H2OINPUTS/testsuite-h2oinputs-h2o_mp200sto3gc1opt.at \
|
---|
| 34 | H2OINPUTS/testsuite-h2oinputs-h2o_mp200sto3gc2.at \
|
---|
| 35 | H2OINPUTS/testsuite-h2oinputs-h2o_mp200sto3gc2opt.at \
|
---|
| 36 | H2OINPUTS/testsuite-h2oinputs-h2o_mp200sto3gc2v.at \
|
---|
| 37 | H2OINPUTS/testsuite-h2oinputs-h2o_mp200sto3gc2vopt.at \
|
---|
| 38 | H2OINPUTS/testsuite-h2oinputs-h2o_scf6311gssc1.at \
|
---|
| 39 | H2OINPUTS/testsuite-h2oinputs-h2o_scf6311gssc1opt.at \
|
---|
| 40 | H2OINPUTS/testsuite-h2oinputs-h2o_scf6311gssc2.at \
|
---|
| 41 | H2OINPUTS/testsuite-h2oinputs-h2o_scf6311gssc2opt.at \
|
---|
| 42 | H2OINPUTS/testsuite-h2oinputs-h2o_scf6311gssc2v.at \
|
---|
| 43 | H2OINPUTS/testsuite-h2oinputs-h2o_scf6311gssc2vopt.at \
|
---|
| 44 | H2OINPUTS/testsuite-h2oinputs-h2o_scfsto3gc1.at \
|
---|
| 45 | H2OINPUTS/testsuite-h2oinputs-h2o_scfsto3gc1opt.at \
|
---|
| 46 | H2OINPUTS/testsuite-h2oinputs-h2o_scfsto3gc2.at \
|
---|
| 47 | H2OINPUTS/testsuite-h2oinputs-h2o_scfsto3gc2opt.at \
|
---|
| 48 | H2OINPUTS/testsuite-h2oinputs-h2o_scfsto3gc2v.at \
|
---|
| 49 | H2OINPUTS/testsuite-h2oinputs-h2o_scfsto3gc2vopt.at \
|
---|
| 50 | H2OFRQINPUTS/testsuite-h2ofrqinputs.at \
|
---|
| 51 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_mp2006311gssc1frq.at \
|
---|
| 52 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_mp2006311gssc1optfrq.at \
|
---|
| 53 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_mp2006311gssc2vfrq.at \
|
---|
| 54 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_mp2006311gssc2voptfrq.at \
|
---|
| 55 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_mp200sto3gc1frq.at \
|
---|
| 56 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_mp200sto3gc1optfrq.at \
|
---|
| 57 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_mp200sto3gc2vfrq.at \
|
---|
| 58 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_mp200sto3gc2voptfrq.at \
|
---|
| 59 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_scf6311gssc1frq.at \
|
---|
| 60 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_scf6311gssc1optfrq.at \
|
---|
| 61 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_scf6311gssc2vfrq.at \
|
---|
| 62 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_scf6311gssc2voptfrq.at \
|
---|
| 63 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_scfsto3gc1frq.at \
|
---|
| 64 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_scfsto3gc1optfrq.at \
|
---|
| 65 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_scfsto3gc2vfrq.at \
|
---|
| 66 | H2OFRQINPUTS/testsuite-h2ofrqinputs-h2ofrq_scfsto3gc2voptfrq.at \
|
---|
| 67 | H2OMP2INPUTS/testsuite-h2omp2inputs.at \
|
---|
| 68 | H2OMP2INPUTS/testsuite-h2omp2inputs-h2omp2_mp200631gsc2v.at \
|
---|
| 69 | H2OMP2INPUTS/testsuite-h2omp2inputs-h2omp2_mp200631gsc2vopt.at \
|
---|
| 70 | H2OMP2INPUTS/testsuite-h2omp2inputs-h2omp2_mp201631gsc2v.at \
|
---|
| 71 | H2OMP2INPUTS/testsuite-h2omp2inputs-h2omp2_mp201631gsc2vopt.at \
|
---|
| 72 | H2OMP2INPUTS/testsuite-h2omp2inputs-h2omp2_mp210631gsc2v.at \
|
---|
| 73 | H2OMP2INPUTS/testsuite-h2omp2inputs-h2omp2_mp210631gsc2vopt.at \
|
---|
| 74 | H2OMP2INPUTS/testsuite-h2omp2inputs-h2omp2_mp211631gsc2v.at \
|
---|
| 75 | H2OMP2INPUTS/testsuite-h2omp2inputs-h2omp2_mp211631gsc2vopt.at \
|
---|
| 76 | METHODSINPUTS/testsuite-methodsinputs.at \
|
---|
| 77 | METHODSINPUTS/testsuite-methodsinputs-clhf.at \
|
---|
| 78 | METHODSINPUTS/testsuite-methodsinputs-clks_b3lyp.at \
|
---|
| 79 | METHODSINPUTS/testsuite-methodsinputs-clks_b88.at \
|
---|
| 80 | METHODSINPUTS/testsuite-methodsinputs-clks_blyp.at \
|
---|
| 81 | METHODSINPUTS/testsuite-methodsinputs-clks_kmlyp.at \
|
---|
| 82 | METHODSINPUTS/testsuite-methodsinputs-clks_lsdax.at \
|
---|
| 83 | METHODSINPUTS/testsuite-methodsinputs-clks_xa.at \
|
---|
| 84 | METHODSINPUTS/testsuite-methodsinputs-hsoshf.at \
|
---|
| 85 | METHODSINPUTS/testsuite-methodsinputs-hsosks_b3lyp.at \
|
---|
| 86 | METHODSINPUTS/testsuite-methodsinputs-hsosks_b88.at \
|
---|
| 87 | METHODSINPUTS/testsuite-methodsinputs-hsosks_blyp.at \
|
---|
| 88 | METHODSINPUTS/testsuite-methodsinputs-hsosks_kmlyp.at \
|
---|
| 89 | METHODSINPUTS/testsuite-methodsinputs-hsosks_lsdax.at \
|
---|
| 90 | METHODSINPUTS/testsuite-methodsinputs-hsosks_xa.at \
|
---|
| 91 | METHODSINPUTS/testsuite-methodsinputs-osshf.at \
|
---|
| 92 | METHODSINPUTS/testsuite-methodsinputs-qmmm1.at \
|
---|
| 93 | METHODSINPUTS/testsuite-methodsinputs-qmmm2.at \
|
---|
| 94 | METHODSINPUTS/testsuite-methodsinputs-tchf.at \
|
---|
| 95 | METHODSINPUTS/testsuite-methodsinputs-uhf.at \
|
---|
| 96 | METHODSINPUTS/testsuite-methodsinputs-uks_b3lyp.at \
|
---|
| 97 | METHODSINPUTS/testsuite-methodsinputs-uks_b88.at \
|
---|
| 98 | METHODSINPUTS/testsuite-methodsinputs-uks_blyp.at \
|
---|
| 99 | METHODSINPUTS/testsuite-methodsinputs-uks_kmlyp.at \
|
---|
| 100 | METHODSINPUTS/testsuite-methodsinputs-uks_lsdax.at \
|
---|
| 101 | METHODSINPUTS/testsuite-methodsinputs-uks_xa.at \
|
---|
| 102 | INPUTINPUTS/testsuite-inputinputs.at \
|
---|
| 103 | INPUTINPUTS/testsuite-inputinputs-hfch2opt.at \
|
---|
| 104 | INPUTINPUTS/testsuite-inputinputs-hfh2ofreq.at \
|
---|
| 105 | INPUTINPUTS/testsuite-inputinputs-hfh2oopt.at \
|
---|
| 106 | INPUTINPUTS/testsuite-inputinputs-ksh2o.at \
|
---|
| 107 | INPUTINPUTS/testsuite-inputinputs-ksh2oco.at \
|
---|
| 108 | INPUTINPUTS/testsuite-inputinputs-mp2h2o.at \
|
---|
| 109 | INPUTINPUTS/testsuite-inputinputs-rhfch2opt.at \
|
---|
| 110 | INPUTINPUTS/testsuite-inputinputs-rksch2.at \
|
---|
| 111 | INPUTINPUTS/testsuite-inputinputs-uhfch2opt.at \
|
---|
| 112 | INPUTINPUTS/testsuite-inputinputs-uksch2.at \
|
---|
| 113 | INPUTINPUTS/testsuite-inputinputs-zapt2ch2.at
|
---|
| 114 |
|
---|
| 115 | max_jobs = 4
|
---|
| 116 |
|
---|
| 117 | check-local: atlocal atconfig molecuilder_mpqc $(TESTSUITE)
|
---|
| 118 | nrjobs=; \
|
---|
| 119 | for flag in $$MAKEFLAGS; do \
|
---|
| 120 | case $$flag in \
|
---|
| 121 | --* | =*=) ;; \
|
---|
| 122 | *j*) nrjobs="-j$(max_jobs)" ;; \
|
---|
| 123 | esac; \
|
---|
| 124 | done; \
|
---|
| 125 | $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(abs_top_builddir)/src' $(TESTSUITEFLAGS)
|
---|
| 126 |
|
---|
| 127 | installcheck-local: atlocal atconfig molecuilder_mpqc $(TESTSUITE)
|
---|
| 128 | nrjobs=; \
|
---|
| 129 | for flag in $$MAKEFLAGS; do \
|
---|
| 130 | case $$flag in \
|
---|
| 131 | --* | =*=) ;; \
|
---|
| 132 | *j*) nrjobs="-j$(max_jobs)" ;; \
|
---|
| 133 | esac; \
|
---|
| 134 | done; \
|
---|
| 135 | $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(bindir)' $(TESTSUITEFLAGS)
|
---|
| 136 |
|
---|
| 137 | clean-local:
|
---|
| 138 | test ! -f '$(TESTSUITE)' || \
|
---|
| 139 | $(SHELL) '$(TESTSUITE)' --clean
|
---|
| 140 |
|
---|
| 141 | AUTOTEST = $(AUTOM4TE) --language=autotest
|
---|
| 142 | # testsuite must not depend on atlocal or atconfig as otherwise distcheck does
|
---|
| 143 | # not work (wants to regenerate testsuite from testsuite.at in srcdir, which is
|
---|
| 144 | # read-only)
|
---|
| 145 | $(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
|
---|
| 146 | $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
|
---|
| 147 | mv $@.tmp $@
|
---|
| 148 |
|
---|
| 149 | # The `:;' works around a Bash 3.2 bug when the output is not writeable.
|
---|
| 150 | package.m4: $(top_srcdir)/configure.ac
|
---|
| 151 | :;{ \
|
---|
| 152 | echo '# Signature of the current package.' && \
|
---|
| 153 | echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
|
---|
| 154 | echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
|
---|
| 155 | echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
|
---|
| 156 | echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
|
---|
| 157 | echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
|
---|
| 158 | } >'package.m4'
|
---|
| 159 |
|
---|