summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2016-08-16 14:31:39 +0000
committerSamuel Antao <sfantao@us.ibm.com>2016-08-16 14:31:39 +0000
commitef5db1a5ff0a75eba6a7fe7764f59519d7fd5788 (patch)
treee47010473daf6e06f71528b2d78aa8a53a53f449
parent65b6ebccad08ff32d0fa3ce7987da5e509c454a6 (diff)
downloadbcm5719-llvm-ef5db1a5ff0a75eba6a7fe7764f59519d7fd5788.tar.gz
bcm5719-llvm-ef5db1a5ff0a75eba6a7fe7764f59519d7fd5788.zip
Add empty --gcc-toolchain empty to cuda-detect test.
Unless we overload the default gcc toolchain with an empty string the system root used in the tests will be ignored if the user builds clang with a custom gcc toolchain. llvm-svn: 278806
-rw-r--r--clang/test/Driver/cuda-detect.cu1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Driver/cuda-detect.cu b/clang/test/Driver/cuda-detect.cu
index c4c177287a8..7bbda1b4a73 100644
--- a/clang/test/Driver/cuda-detect.cu
+++ b/clang/test/Driver/cuda-detect.cu
@@ -75,6 +75,7 @@
// Verify that C++ include paths are passed for both host and device frontends.
// RUN: %clang -### -no-canonical-prefixes -target x86_64-linux-gnu %s \
// RUN: --stdlib=libstdc++ --sysroot=%S/Inputs/ubuntu_14.04_multiarch_tree2 2>&1 \
+// RUN: --gcc-toolchain="" \
// RUN: | FileCheck %s --check-prefix CHECK-CXXINCLUDE
// CHECK: Found CUDA installation: {{.*}}/Inputs/CUDA/usr/local/cuda
OpenPOWER on IntegriCloud