source: ThirdParty/mpqc_open/src/lib/validate/Makefile.am

stable v1.7.0
Last change on this file was 9259c3, checked in by Frederik Heber <frederik.heber@…>, 6 weeks ago

MPQC_OPEN: Fixes unit tests.

  • several unit tests programs actually need arguments. Those have been copnverted to autotest test cases.
  • half of these new test cases are expected to fail because modules cannot be properly loaded.
  • Property mode set to 100644
File size: 2.4 KB
Line 
1check_PROGRAMS =
2noinst_PROGRAMS =
3EXTRA_DIST =
4TESTS =
5XFAIL_TESTS =
6DISTCLEANFILES =
7
8include chemistry/molecule/Makefile.am
9include chemistry/qc/mbpt/Makefile.am
10include chemistry/qc/psi/Makefile.am
11include chemistry/solvent/Makefile.am
12include math/isosurf/Makefile.am
13include math/optimize/Makefile.am
14include util/options/Makefile.am
15
16AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te
17
18TESTSUITE = $(srcdir)/testsuite
19
20TESTSCRIPTS =
21
22# PLEASE adhere to alphabetical ordering of TESTSCRIPTS
23
24TESTSCRIPTS += \
25 $(srcdir)/util/options/testsuite-sample.at \
26 $(srcdir)/chemistry/molecule/testsuite-symmetrize.at \
27 $(srcdir)/chemistry/qc/mbpt/testsuite-mbpttest.at \
28 $(srcdir)/chemistry/qc/psi/testsuite-psitest.at \
29 $(srcdir)/chemistry/solvent/testsuite-bemtest.at \
30 $(srcdir)/math/isosurf/testsuite-isotest.at \
31 $(srcdir)/math/optimize/testsuite-kvopt.at \
32 $(srcdir)/math/optimize/testsuite-scextest-optimize.at
33
34EXTRA_DIST += \
35 testsuite.at \
36 $(TESTSUITE)
37
38max_jobs = 8
39
40check-local: $(TESTSUITE)
41 nrjobs=; \
42 for flag in $$MAKEFLAGS; do \
43 case $$flag in \
44 --* | =*=) ;; \
45 *j*) nrjobs="-j$(max_jobs)" ;; \
46 esac; \
47 done; \
48 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(abs_top_builddir)/src' $(TESTSUITEFLAGS)
49
50installcheck-local: $(TESTSUITE)
51 nrjobs=; \
52 for flag in $$MAKEFLAGS; do \
53 case $$flag in \
54 --* | =*=) ;; \
55 *j*) nrjobs="-j$(max_jobs)" ;; \
56 esac; \
57 done; \
58 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(bindir)' $(TESTSUITEFLAGS)
59
60clean-local:
61 test ! -f '$(TESTSUITE)' || \
62 $(SHELL) '$(TESTSUITE)' --clean
63
64AUTOTEST = $(AUTOM4TE) --language=autotest
65# testsuite must not depend on atlocal or atconfig as otherwise distcheck does
66# not work (wants to regenerate testsuite from testsuite.at in srcdir, which is
67# read-only)
68$(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
69 $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
70 mv $@.tmp $@
71
72# The `:;' works around a Bash 3.2 bug when the output is not writeable.
73package.m4: $(top_srcdir)/configure.ac
74 :;{ \
75 echo '# Signature of the current package.' && \
76 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
77 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
78 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
79 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
80 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
81 } >'package.m4'
82
Note: See TracBrowser for help on using the repository browser.