[lit] Skip gtest names starting with DISABLED_
authorReid Kleckner <reid@kleckner.net>
Mon, 6 Apr 2015 22:16:58 +0000 (22:16 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 6 Apr 2015 22:16:58 +0000 (22:16 +0000)
commit4e25cfa167ea1768e6866ae8040b4afc4ac87719
treec2ee73cba3f9782faed0bdd4ab8a1960cf054034
parent6d0b3704b3fb627971e8c88291b382892082fead
[lit] Skip gtest names starting with DISABLED_

The sanitizer test suite uses this idiom to disable a test.  Now that we
actually check if a test ran after invoking it, we see that zero tests
ran, and complain.

Instead, ignore tests starting with DISABLED_ completely. Fixes the
sanitizer test suite failures on Windows.

llvm-svn: 234247
llvm/utils/lit/lit/formats/googletest.py