[CUDA] Fix two failed test cases using --cuda-path-ignore-env
authorJiading Gai <jiading.gai@gmail.com>
Wed, 26 Sep 2018 07:07:48 +0000 (07:07 +0000)
committerJiading Gai <jiading.gai@gmail.com>
Wed, 26 Sep 2018 07:07:48 +0000 (07:07 +0000)
commit664dd75b42709411bfe4d1d8d248a8f4bf15e4c9
treeb5c9187ce7d550167865014112b5333037228a39
parent50de4518c5f2f063edb8cac9a80776c683fcd5dd
[CUDA] Fix two failed test cases using --cuda-path-ignore-env

Add --cuda-path-ignore-env option to those test cases to ensure the clang
driver always pick the CUDA path specified by --sysroot.

Reviewers: tra, Hahnfeld

Differential Revision: https://reviews.llvm.org/D52259

llvm-svn: 343075
clang/test/Driver/cuda-detect.cu
clang/test/Driver/cuda-macosx.cu