summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-20 18:41:19 +0000
committerZachary Turner <zturner@google.com>2016-09-20 18:41:19 +0000
commite848a7363f092f70ecd1bf0646c06b9c0f4344de (patch)
tree50da26e155237e85e6f4457df26d85a6c2afd1ff
parent82f6added37db2795a912da4749e717a3037b8bd (diff)
downloadbcm5719-llvm-e848a7363f092f70ecd1bf0646c06b9c0f4344de.tar.gz
bcm5719-llvm-e848a7363f092f70ecd1bf0646c06b9c0f4344de.zip
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
-rw-r--r--clang/test/Driver/warning-options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Driver/warning-options.cpp b/clang/test/Driver/warning-options.cpp
index 4d9e1f7466d..73b5d23ccda 100644
--- a/clang/test/Driver/warning-options.cpp
+++ b/clang/test/Driver/warning-options.cpp
@@ -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'
OpenPOWER on IntegriCloud