Actually report failure from build.sh when a test fails
Merge pull request #842 from realm/tg-test-report-failure

Actually report failure from build.sh when a test fails