Skip to content
Andrew Hu edited this page Dec 11, 2018 · 5 revisions

Tests

If you want to run the tests, make sure that you have BUILD_TESTS and BUILD_TEST_TOOLS on in CMake. You'll be looking for an executable called run_test_suite.

If you forget to turn on BUILD_TESTS it will build the executable, but complain at run time.

If you want to debug it, you have to build LLVM and dependencies in Debug settings, too.

If you don't have a roadrunner.conf file, you can still run the tests, just set the appropriate command line arguments shown.

./run_test_suite.exe -m ../../../source/roadrunner/models/sbml-test-suite/ -r out/tests.out -t out/

Also, you need to create the out/ folder

You may need to download newer versions of the libsbml test suite, since they haven't been updated in a while. You can find them at sbml.org (which is down for the time being but should be up shortly), and they will replace models/sbml-test-suite/cases/semantic

Make sure that you are installing the newly built files before debugging! If Visual Studio tells you that roadrunner or another project is out of date before debugging and you just click build, then it won't install it :(