Have ptest fail if any test fail

This helps the CI server to detect test failures.  Doing it this way
is significantly easier than dealing with parsing the output manually.