Add more example unit tests and run with travis

This commit is contained in:
Thiago de Arruda
2014-02-27 18:31:45 -03:00
parent d04ca90f5c
commit fd448123aa
3 changed files with 18 additions and 4 deletions

View File

@@ -3,6 +3,7 @@
export VALGRIND_CHECK=1
make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist"
make
make unittest
echo "Running tests with valgrind..."
if ! make test > /dev/null; then
if ls src/testdir/valgrind.* > /dev/null 2>&1; then