From ef5db1a5ff0a75eba6a7fe7764f59519d7fd5788 Mon Sep 17 00:00:00 2001 From: Samuel Antao Date: Tue, 16 Aug 2016 14:31:39 +0000 Subject: [PATCH] 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 --- clang/test/Driver/cuda-detect.cu | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/test/Driver/cuda-detect.cu b/clang/test/Driver/cuda-detect.cu index c4c1772..7bbda1b 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 -- 2.7.4