XClose
Menu

Continuous Integration

Test servers

Goal:

  1. run tests nightly
  2. run tests after each commit to github (or other)
  3. run tests on different platforms

Various groups run servers that can be used to do this automatically.

RITS run a university-wide one.

Memory and profiling

For compiled languages (C, C++, Fortran):

  • Checking for memory leaks with valgrind: valgrind --leak-check=full program
  • Checking cache hits and cache misses with cachegrind: valgrind --tool=cachegrind program
  • Profiling the code with callgrind: valgrind --tool=callgrind program