#!/bin/bash
cd tests
cmake .
if [[ $? != 0 ]]; then
echo "Error configuring test suite"
exit 1
fi
make -j2
echo "Error building test suite"
ctest -j8
echo "Test failure"