Author: aaronballman
Date: Tue Aug 26 09:09:25 2014
New Revision: 216456

URL: http://llvm.org/viewvc/llvm-project?rev=216456&view=rev
Log:
This test was updated in r216397, but was failing on Windows due to mixed path 
separators as well as case sensitivity of the "no" in "no such file or 
directory." Rather than revert this file back to its original form, I've made 
some incredibly ugly regexes so that it will pass everywhere.

Note, the path this test reports a failure on (for my Windows setup) is: 
E:\llvm\llvm\tools\clang\test\Frontend/doesnotexist/somename

Modified:
    cfe/trunk/test/Frontend/output-failures.c

Modified: cfe/trunk/test/Frontend/output-failures.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/output-failures.c?rev=216456&r1=216455&r2=216456&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/output-failures.c (original)
+++ cfe/trunk/test/Frontend/output-failures.c Tue Aug 26 09:09:25 2014
@@ -1,4 +1,4 @@
 // RUN: not %clang_cc1 -emit-llvm -o %S/doesnotexist/somename %s 2> %t
 // RUN: FileCheck -check-prefix=OUTPUTFAIL -input-file=%t %s
 
-// OUTPUTFAIL: error: unable to open output file 
'{{.*}}/test/Frontend/doesnotexist/somename': 'No such file or directory'
+// OUTPUTFAIL: error: unable to open output file 
'{{.*}}{{[/\\]}}test{{[/\\]}}Frontend{{[/\\]}}doesnotexist{{[/\\]}}somename': 
'{{[nN]}}o such file or directory'


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to