]> granicus.if.org Git - clang/commitdiff
[CUDA] Pass correct option in test.
authorMichael Kuperstein <mkuper@google.com>
Thu, 7 Jul 2016 23:22:39 +0000 (23:22 +0000)
committerMichael Kuperstein <mkuper@google.com>
Thu, 7 Jul 2016 23:22:39 +0000 (23:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274805 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/cuda-version-check.cu

index f2009ee4137beea1e99d49f5866c42d7f8b9668a..4aa59dfdce53c79d382d9d59f03c5e4ff9e39abc 100644 (file)
@@ -36,7 +36,7 @@
 
 // -nocuda-version-check should suppress all of these errors.
 // RUN: %clang -v -### --cuda-gpu-arch=sm_60 --sysroot=%S/Inputs/CUDA 2>&1 \
-// RUN:    -nocuda-version-check %s | \
+// RUN:    --no-cuda-version-check %s | \
 // RUN:    FileCheck %s --check-prefix=OK
 
 // OK-NOT: error: GPU arch