commit | 6bccb4c2373532b972ecf84e8428f800e5e9995f | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@google.com> | Sun Oct 18 02:05:42 2009 +0000 |
committer | Jeffrey Yasskin <jyasskin@google.com> | Sun Oct 18 02:05:42 2009 +0000 |
tree | 570a261b77fa0cb85d5f3b1876dc34bd3448dc8f | |
parent | c1a38f59b5a258bfebbe553498c0e67f24ca74ec [diff] |
Support GoogleTest's "typed tests" (http://code.google.com/p/googletest/wiki/GoogleTestAdvancedGuide#Typed_Tests) in lit.py. These tests have names like "ValueMapTest/0.Iteration", which broke when lit.py os.path.join()ed them onto the path and then assumed it could os.path.split() them back off. This patch shifts path components from the testPath to the testName until the testPath exists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84387 91177308-0d34-0410-b5e6-96231b3b80d8