Ignore:
Timestamp:
Sep 13, 2025, 2:44:01 PM (6 weeks ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
e9f307
Parents:
9f1c84
git-author:
Frederik Heber <frederik.heber@…> (09/13/25 09:31:33)
git-committer:
Frederik Heber <frederik.heber@…> (09/13/25 14:44:01)
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/mpqc_open/src/lib/math/optimize/Makefile.am

    r9f1c84 r9259c3  
    7373#libSCoptimize_libincludedir = $(libdir)/math/optimize/include
    7474#nodist_libSCoptimize_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
    75 
    76 
    77 OPTIMIZETESTS = \
    78         opttest \
    79         scextest_optimize \
    80         kvopt
    81 
    82 # ?opttest crashes with mpi (also in original implementation)
    83 # ?scextest_optimize crashes with mpi (also in original implementation)
    84 
    85 # kvopt requires argument
    86 XFAIL_TESTS += \
    87         kvopt
    88 
    89 TESTS += $(OPTIMIZETESTS)
    90 check_PROGRAMS += $(OPTIMIZETESTS)
    91 noinst_PROGRAMS += $(OPTIMIZETESTS)
    92 
    93 OPTIMIZELIBS = \
    94         libSCoptimize.la libSCscmat.la libSCgroup.la libSCmisc.la libSCstate.la libSCkeyval.la libSCclass.la libSCcontainer.la libSCref.la
    95 
    96 opttest_SOURCES = \
    97         math/optimize/opttest.cc
    98 opttest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/math/optimize\"
    99 opttest_LDADD = \
    100         $(OPTIMIZELIBS)
    101 
    102 scextest_optimize_SOURCES = \
    103         math/optimize/scextest.cc
    104 scextest_optimize_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/math/optimize\"
    105 scextest_optimize_LDADD = \
    106         $(OPTIMIZELIBS)
    107 
    108 kvopt_SOURCES = \
    109         math/optimize/kvopt.cc
    110 kvopt_LDADD = \
    111         $(OPTIMIZELIBS)
    112 
    113 EXTRA_DIST += ./math/optimize/opttest.in
    114 EXTRA_DIST += ./math/optimize/scextest.in
    115 
    116 DISTCLEANFILES += \
    117         scextest.ckpt
Note: See TracChangeset for help on using the changeset viewer.