Fix dotest.py test runner exit code to return non-zero on failure/error.
authorTodd Fiala <todd.fiala@gmail.com>
Tue, 14 Oct 2014 16:17:02 +0000 (16:17 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Tue, 14 Oct 2014 16:17:02 +0000 (16:17 +0000)
commitd7e27eac19ffd36e1376e33de147803413e36886
tree10e7df2f11d777bbd4e76bf3fe3caad9b2e93025
parenta3f23e37255923a7f98344e6aed27857c05008ac
Fix dotest.py test runner exit code to return non-zero on failure/error.

This addresses this bug:
http://www.llvm.org/bugs/show_bug.cgi?id=21267

Which has been broken since svn r215256 on Aug 8 2014.

DO NOT REVERT THIS COMMIT EVEN IF IT CREATES TEST FAILURES.

The test failures are a result of accumulation of hidden failures
that were masked by the bug this change fixes.  Most of our test
runners as part of build testing rely on dotest.py returning non-zero to indicate
some kind of errant test run.  Thus, we have been flying blind
since Aug 8 2014.

llvm-svn: 219689
lldb/test/dotest.py