[lldb-dev] RFC: Making unit tests run by default on ninja check-lldb
Ying Chen via lldb-dev
lldb-dev at lists.llvm.org
Tue Oct 20 16:51:52 PDT 2015
The big unknown here is how to make the buildbots understand unit test
> failures and trigger a failure when ninja check-lldb-unit fails.
There're two conditions buildbot will identity a test step as failure.
One is that the command has non-zero return code.
The other is that there're failing codes in stdout message. (Refer to
LitTestCommand::evaluateCommand in this file
Failing codes are defined as:
failingCodes = set(['FAIL', 'XPASS', 'KPASS', 'UNRESOLVED', 'TIMEOUT'])
So if the failures are print out as '^FAIL: (.*) \(.*\)', buildbot will
understand it's failing even if ninja check-lldb-unit returns 0.
Or we could add some logic to the above file to handle the output of unit
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev