snapraid/maketest.sh

52 lines
606 B
Bash
Raw Normal View History

#!/bin/sh
#
# Run all the Coverage and Valgrind tests
#
make distclean
# Coverage
if ! ./configure --enable-coverage --enable-sde; then
exit 1
fi
if ! make lcov_reset check lcov_capture lcov_html; then
exit 1
fi
if ! make distclean; then
exit 1
fi
# Valgrind
if ! ./configure --enable-valgrind; then
exit 1
fi
if ! make check distclean; then
exit 1
fi
# Helgrind
2015-10-30 22:32:49 +01:00
if ! ./configure --enable-helgrind; then
exit 1
fi
if ! make check distclean; then
exit 1
fi
# Drd
2015-10-30 22:32:49 +01:00
if ! ./configure --enable-drd; then
exit 1
fi
if ! make check distclean; then
exit 1
fi
if ! ./configure ; then
exit 1
fi