Member Site Forums Rosetta 3 Rosetta 3 – Build/Install partial success with unit test Reply To: partial success with unit test

#5336
Anonymous

    If that many tests crash, it usually means the test executeable itself crashed. It’s nearly impossible to cause that many tests to fail without crashing something. If it says things like protocols.test: ALL, that means the protocols.test chunk crashed.

    Your command lines suggest you compiled the libraries in release mode, but the tests in debug mode. This is a problem. You need to compile both the same; the tests ought to run OK in release mode, so I suggest compiling both in release mode:
    scons bin mode=release
    scons cat=test mode=release
    Then when running test.py, use its help function to see its flags, it should have one for mode==release or somesuch.

    If it still fails after that, we can start trying to pick apart which test is crashing and why. The next most likely thing is some sort of database reading error.