Add some entropy to the folder name in Driver/warning-options.cpp.
It was trying to check that things behave correctly when a non-existant folder was specified for -isysroot. Incidentally, I have a folder named FOO in the root of my drive, so this test was failing. Make this impossible by using %T to refer to a definitely non-existant folder.: llvm-svn: 281998
This commit is contained in:
parent
82f6added3
commit
e848a7363f
|
@ -4,5 +4,5 @@
|
|||
// LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128
|
||||
|
||||
// Check that -isysroot warns on nonexistent paths.
|
||||
// RUN: %clang -### -c -target i386-apple-darwin10 -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s
|
||||
// CHECK-ISYSROOT: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/FOO'
|
||||
// RUN: %clang -### -c -target i386-apple-darwin10 -isysroot %T/warning-options %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s
|
||||
// CHECK-ISYSROOT: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/warning-options'
|
||||
|
|
Loading…
Reference in New Issue