[cfe-commits] [PATCH] test/Driver/darwin-cc.c, sysroot-flags.c: FileCheck-ize and tweak for Mingw MSYS bash.

NAKAMURA Takumi geek4civic at gmail.com
Wed Mar 16 21:51:42 PDT 2011


MSYS substitutes path (that begins with "/") to de-mounted Windows
path, even if it were nonexistent.
"/tmp" might be substituted as "C:/DOCUME~1/chapuni/LOCALS~1/Temp".
"/foo/bar" might be substituted to "C:/msysgit/foo/bar".
---
 test/Driver/darwin-cc.c     |    7 +++----
 test/Driver/sysroot-flags.c |   14 +++++++-------
 2 files changed, 10 insertions(+), 11 deletions(-)

---
I know they must be ugly, though, I would like to propose to loosen
expressions in them.
For now, they are the last failures on mingw-msys in ToT.

Or, I could add the feature, "Do not execute when 'Windows' and 'bash'."

Please take a glance into them. ;)

...Takumi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-test-Driver-darwin-cc.c-sysroot-flags.c-FileChec.patch.txt
Type: text/x-patch
Size: 4759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110317/6507a767/attachment.bin>


More information about the cfe-commits mailing list