source: ThirdParty/mpqc_open/src/lib/validate/math/optimize/Makefile.am@ e9f307

Candidate_v1.7.0 stable
Last change on this file since e9f307 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: 1.5 KB
Line 
1OPTIMIZETESTS = \
2 opttest
3# kvopt
4# scextest_optimize
5
6# ?scextest_optimize crashes with mpi (also in original implementation)
7
8TESTS += $(OPTIMIZETESTS)
9check_PROGRAMS += $(OPTIMIZETESTS)
10### NOTE(FH): This requires a source file and thus needs to run as a autotest
11### and not as a check program.
12noinst_PROGRAMS += $(OPTIMIZETESTS) kvopt scextest_optimize
13
14OPTIMIZELIBS = \
15 ../../bin/mpqc/libmolecuilder_mpqc.la ../../bin/mpqc/libmolecuilder_mpqc_extract_dummy.la
16# If we link the libs directly, then the linker throws out all unneeded symbols that would
17# be loaded dynamically. Out of laziness, we therefore simply link against our dynamic
18# library which is not pruned.
19# libSCoptimize.la libSCscmat.la libSCgroup.la libSCmisc.la libSCstate.la libSCkeyval.la libSCclass.la libSCcontainer.la libSCref.la
20
21opttest_SOURCES = \
22 math/optimize/opttest.cc
23opttest_CPPFLAGS = $(AM_CPPFLAGS) -I$(abs_top_srcdir)/src/lib -DSRCDIR=\"$(abs_top_srcdir)/src/lib/math/optimize\"
24opttest_LDADD = \
25 $(OPTIMIZELIBS)
26
27scextest_optimize_SOURCES = \
28 math/optimize/scextest.cc
29scextest_optimize_CPPFLAGS = $(AM_CPPFLAGS) -I$(abs_top_srcdir)/src/lib -DSRCDIR=\"$(abs_top_srcdir)/src/lib/math/optimize\"
30scextest_optimize_LDADD = \
31 $(OPTIMIZELIBS)
32
33kvopt_SOURCES = \
34 math/optimize/kvopt.cc
35kvopt_CPPFLAGS = $(AM_CPPFLAGS) -I$(abs_top_srcdir)/src/lib -DSRCDIR=\"$(abs_top_srcdir)/src/lib/math/optimize\"
36kvopt_LDADD = \
37 $(OPTIMIZELIBS)
38
39EXTRA_DIST += ./math/optimize/opttest.in
40EXTRA_DIST += ./math/optimize/scextest.in
41
42DISTCLEANFILES += \
43 scextest.ckpt
Note: See TracBrowser for help on using the repository browser.