[llvm-commits] [PATCH] Fix lit.py for gtest "typed tests"

Jeffrey Yasskin jyasskin at google.com
Sat Oct 17 11:31:35 PDT 2009


GTest has a kind of test whose names look like
"ValueMapTest/0.Iteration":
http://code.google.com/p/googletest/wiki/GoogleTestAdvancedGuide#Typed_Tests.
This broke lit.py, which os.path.join()ed the test name onto the
test's path and assumed that it could recover the name as the second
result of os.path.split. This patch shifts path components from the
testPath to the testName until the testPath exists.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lit-fix-for-gtest.patch
Type: application/octet-stream
Size: 648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091017/8a28cbd8/attachment.obj>


More information about the llvm-commits mailing list