stable
        v1.7.0
      
      
        
          | Last change
 on this file was             9259c3, checked in by Frederik Heber <frederik.heber@…>, 7 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 | 
      
      
| Rev | Line |  | 
|---|
| [9259c3] | 1 | OPTIMIZETESTS = \ | 
|---|
|  | 2 | opttest | 
|---|
|  | 3 | #       kvopt | 
|---|
|  | 4 | #       scextest_optimize | 
|---|
|  | 5 |  | 
|---|
|  | 6 | # ?scextest_optimize crashes with mpi (also in original implementation) | 
|---|
|  | 7 |  | 
|---|
|  | 8 | TESTS += $(OPTIMIZETESTS) | 
|---|
|  | 9 | check_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. | 
|---|
|  | 12 | noinst_PROGRAMS += $(OPTIMIZETESTS) kvopt scextest_optimize | 
|---|
|  | 13 |  | 
|---|
|  | 14 | OPTIMIZELIBS = \ | 
|---|
|  | 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 |  | 
|---|
|  | 21 | opttest_SOURCES = \ | 
|---|
|  | 22 | math/optimize/opttest.cc | 
|---|
|  | 23 | opttest_CPPFLAGS = $(AM_CPPFLAGS) -I$(abs_top_srcdir)/src/lib -DSRCDIR=\"$(abs_top_srcdir)/src/lib/math/optimize\" | 
|---|
|  | 24 | opttest_LDADD = \ | 
|---|
|  | 25 | $(OPTIMIZELIBS) | 
|---|
|  | 26 |  | 
|---|
|  | 27 | scextest_optimize_SOURCES = \ | 
|---|
|  | 28 | math/optimize/scextest.cc | 
|---|
|  | 29 | scextest_optimize_CPPFLAGS = $(AM_CPPFLAGS) -I$(abs_top_srcdir)/src/lib -DSRCDIR=\"$(abs_top_srcdir)/src/lib/math/optimize\" | 
|---|
|  | 30 | scextest_optimize_LDADD = \ | 
|---|
|  | 31 | $(OPTIMIZELIBS) | 
|---|
|  | 32 |  | 
|---|
|  | 33 | kvopt_SOURCES = \ | 
|---|
|  | 34 | math/optimize/kvopt.cc | 
|---|
|  | 35 | kvopt_CPPFLAGS = $(AM_CPPFLAGS) -I$(abs_top_srcdir)/src/lib -DSRCDIR=\"$(abs_top_srcdir)/src/lib/math/optimize\" | 
|---|
|  | 36 | kvopt_LDADD = \ | 
|---|
|  | 37 | $(OPTIMIZELIBS) | 
|---|
|  | 38 |  | 
|---|
|  | 39 | EXTRA_DIST += ./math/optimize/opttest.in | 
|---|
|  | 40 | EXTRA_DIST += ./math/optimize/scextest.in | 
|---|
|  | 41 |  | 
|---|
|  | 42 | DISTCLEANFILES += \ | 
|---|
|  | 43 | scextest.ckpt | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.