diff options
author | Daniel Dunbar <daniel@zuster.org> | 2016-03-31 18:22:55 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2016-03-31 18:22:55 +0000 |
commit | 42881eac3099b0121b7e4261a1381253d95b76ba (patch) | |
tree | 0e0ed09069efcfa58b7c650ed6fbb20a3a125ba6 /llvm/lib/Target/ARM | |
parent | 3e4adf17625595d9425fb8109126af22475f54c0 (diff) | |
download | bcm5719-llvm-42881eac3099b0121b7e4261a1381253d95b76ba.tar.gz bcm5719-llvm-42881eac3099b0121b7e4261a1381253d95b76ba.zip |
[lit][googletest] Handle upstream gtest output
Summary:
Upstream googletest prints "Running main() from gtest_main.cc" to stdout prior
to running tests. LLVM removed that print statement in r61540. If a user were
to use lit to run tests that use upstream googletest, however, lit
reports "Running main()" as an invalid test name.
To avoid such a failure, add an extra conditional to `formats/googletest.py`.
Also add tests to demonstrate the modified behavior.
Reviewers: abdulras, ddunbar
Subscribers: ddunbar, llvm-commits, kastiglione
Differential Revision: http://reviews.llvm.org/D18606
llvm-svn: 265034
Diffstat (limited to 'llvm/lib/Target/ARM')
0 files changed, 0 insertions, 0 deletions