1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/bash cd tests cmake . if [[ $? != 0 ]]; then echo "Error configuring test suite" exit 1 fi make -j2 if [[ $? != 0 ]]; then echo "Error building test suite" exit 1 fi ctest -j8 if [[ $? != 0 ]]; then echo "Test failure" exit 1 fi