partial success with unit test

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

Viewing 1 reply thread
  • Author
    Posts
    • #860
      Anonymous

        I was installing rosetta 3 on Ubuntu 10.04 LTS with GCC 4.3,the compilation using ‘scons bin mode=release ‘went smoothly,and the ‘scons cat=test’ also went well,however,running ‘test/run.py’ ended up with a success rate of only 41% .Acutally I will be doing a little bit of development work with rosetta,so I decide it’s better to find out what’s keeping me from getting a success rate of 100%.Anybody got an idea?

      • #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.

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.