r272874 - clang/test/Driver/cuda-march.cu: Tweak not to match "clang" to other place like "path-to-clang-foo".

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 23:08:12 PDT 2016


Author: chapuni
Date: Thu Jun 16 01:08:09 2016
New Revision: 272874

URL: http://llvm.org/viewvc/llvm-project?rev=272874&view=rev
Log:
clang/test/Driver/cuda-march.cu: Tweak not to match "clang" to other place like "path-to-clang-foo".

Modified:
    cfe/trunk/test/Driver/cuda-march.cu

Modified: cfe/trunk/test/Driver/cuda-march.cu
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cuda-march.cu?rev=272874&r1=272873&r2=272874&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cuda-march.cu (original)
+++ cfe/trunk/test/Driver/cuda-march.cu Thu Jun 16 01:08:09 2016
@@ -11,7 +11,7 @@
 // RUN: %clang -### -target x86_64-linux-gnu -c -march=haswell --cuda-gpu-arch=sm_20 %s 2>&1 | \
 // RUN: FileCheck %s
 
-// CHECK:clang
+// CHECK: bin{{/|\\+}}clang
 // CHECK: "-cc1"
 // CHECK-SAME: "-triple" "nvptx
 // CHECK-SAME: "-target-cpu" "sm_20"
@@ -19,6 +19,6 @@
 // CHECK: ptxas
 // CHECK-SAME: "--gpu-name" "sm_20"
 
-// CHECK:clang
+// CHECK: bin{{/|\\+}}clang
 // CHECK-SAME: "-cc1"
 // CHECK-SAME: "-target-cpu" "haswell"




More information about the cfe-commits mailing list