unittests

ghorn edited this page Sep 30, 2014 · 11 revisions

The short way to do the unittests is: Go to test/ and issue a make, this will run the python unittests. If you wish to check any available tests, do a make full.

If your platform does not have make, just issue python alltests.py in tests/python

If you want to run a more extensive suite of tests, use python alltests.py --run_slow. Beware: this can be very slow.

You can also check:

Trunktesterbot

CasADi trunktester bot is a service that checks every 10 minutes for an update of CasADi's trunk. When a new version is found, CasADi is recompiled with make all python octave after removing build/swig/ca*. After that, the equivalent of make trunktesterbot in test/ is run. If any compilation or test fails, the author of the relevant commit(s) is notified by mail.

You can add tests to the system by extending Makefile in test/. Note that the trunktester bot runs with default CasADi flags, except for the build_mode which is DEBUG. The trunktesterbot is maintained by jgillis.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.