mirror of https://github.com/microsoft/clang.git
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2b32bc8dd
commit
8839624d3b
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue