Improve exit codes (#32) (#296)

This patch ensures runTestHarness returns either EXIT_FAILURE or
EXIT_SUCCESS to avoid undefined behaviour.
4 files changed