Quiet test harness debug output for failing tests

Only show test harness debug information for failing tests when --verbose is given to run-tests.sh.