Continuous Integration
Contents
Continuous Integration¶
Test servers¶
Goal:
run tests nightly
run tests after each commit to github (or other)
run tests on different platforms
Various groups run servers that can be used to do this automatically.
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