#1 TestRegistry does not work on Solaris

-- deleted --
closed-out-of-date
5
2001-05-06
2000-10-13
No

Adding Tests does not work.

Linker problem assumed.

Discussion

  • Claus Michelsen

    Claus Michelsen - 2000-11-26

    It appears that the same error shows up on Windows. The problem I am observing has to do with the order that global variables are instantiated. The test objects are instantiated before 's_registry_names' and 's_registry_tests' vectors. This means that the constructors on the vectors undoes what the constructors on the test objects have done (the registration).

    A simple workaround is to move the test objects in as local variables in the 'main' function.

     
  • Bastiaan Bakker

    Bastiaan Bakker - 2001-05-06

    Logged In: YES
    user_id=8050

    TestRegistry has been reworked in 1.5.4. Most likely this
    problem has been fixed or does no longer apply.
    Reopen if necessary.

     
  • Bastiaan Bakker

    Bastiaan Bakker - 2001-05-06
    • status: open --> closed-out-of-date
     

Log in to post a comment.