[PATCH] D40996: Add --no-cuda-version-check in unknown-std.cpp
Phabricator via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 12 10:34:32 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rC320506: Add --cuda-path to mock a CUDA Toolkit installation to avoid (authored by kli, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D40996
Files:
test/Driver/unknown-std.cpp
Index: test/Driver/unknown-std.cpp
===================================================================
--- test/Driver/unknown-std.cpp
+++ test/Driver/unknown-std.cpp
@@ -4,7 +4,7 @@
// RUN: not %clang %s -std=foobar -c 2>&1 | FileCheck --match-full-lines %s
// RUN: not %clang -x objective-c++ %s -std=foobar -c 2>&1 | FileCheck --match-full-lines %s
-// RUN: not %clang -x cuda -nocudainc -nocudalib %s -std=foobar -c 2>&1 | FileCheck --match-full-lines --check-prefix=CHECK --check-prefix=CUDA %s
+// RUN: not %clang -x cuda -nocudainc -nocudalib --cuda-path=%S/Inputs/CUDA/usr/local/cuda %s -std=foobar -c 2>&1 | FileCheck --match-full-lines --check-prefix=CHECK --check-prefix=CUDA %s
// CHECK: error: invalid value 'foobar' in '-std=foobar'
// CHECK-NEXT: note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40996.126579.patch
Type: text/x-patch
Size: 843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171212/237a18b2/attachment.bin>
More information about the cfe-commits
mailing list