llvm-project/lldb/packages/Python/lldbsuite/test_event
Todd Fiala 4728cf7e85 surface build error content through test event system
Summary:
print build errors nicely in test output

This test infrastructure change adds a new Python exception
for test subject builds that fail.  The output of the build
command is captured and propagated to both the textual test
output display code and to the test event system.

The ResultsFormatter objects have been modified to do something
more useful with this information.  The xUnit formatter
now replaces the non-informative Python build error stacktrace
with the build error content.  The curses ResultsFormatter
prints a 'B' for build errors rather than 'E'.

The xUnit output, in particular, makes it much easier for
developers to track down test subject build errors that cause
test failures when reports come in from CI.

Reviewers: granata.enrico

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D20252

llvm-svn: 269525
2016-05-14 00:42:30 +00:00
..
formatter surface build error content through test event system 2016-05-14 00:42:30 +00:00
test test infra: catch bad decorators and import-time errors 2016-05-13 21:36:26 +00:00
__init__.py
build_exception.py surface build error content through test event system 2016-05-14 00:42:30 +00:00
dotest_channels.py
event_builder.py surface build error content through test event system 2016-05-14 00:42:30 +00:00