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.
Location:
ThirdParty/mpqc_open/src/lib/validate
Files:
17 added
17 moved

Legend:

Unmodified
Added
Removed
  • ThirdParty/mpqc_open/src/lib/validate/util/options/README.cc

    r9f1c84 r9259c3  
    6666
    6767// GetLongOpt::enroll adds option specifications to its internal
    68 // database. The first argument is the option sting. The second
     68// database. The first argument is the option string. The second
    6969// is an enum saying if the option is a flag (GetLongOpt::NoValue),
    7070// if it requires a mandatory value (GetLongOpt::MandatoryValue) or
     
    8484// order they are enrolled.
    8585
    86    if ( option.parse(getenv("A_OUT"), "A_OUT") < 1 )
     86   if ( (getenv("A_OUT") == NULL) || (option.parse(getenv("A_OUT"), "A_OUT") < 1) )
    8787      return -1;
    8888
Note: See TracChangeset for help on using the changeset viewer.