Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The short way to do the unittests is:
test/ and issue a
make, this will run the python unittests. If you wish to check any available tests, do a
If your platform does not have make, just issue
python alltests.py in
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:
- the in-documentation-examples with
make examples, but this involves some setup for the C++ ones
- the tutorials with
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
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.