#!/bin/bash # Runs all the tests possible # First, make sure it compiles! if ! make proj2 then echo ERROR: Project failed to compile exit -1 fi if run-parts --exit-on-error tests/ then echo All tests completed successfully. else echo ERROR: Project failed at least one test! exit -1 fi