From: NAKAMURA Takumi Date: Thu, 16 Jun 2016 06:08:09 +0000 (+0000) Subject: clang/test/Driver/cuda-march.cu: Tweak not to match "clang" to other place like ... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1197bd03113ba631f4183e195726dce5e8a91c3c;p=clang clang/test/Driver/cuda-march.cu: Tweak not to match "clang" to other place like "path-to-clang-foo". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272874 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/cuda-march.cu b/test/Driver/cuda-march.cu index e06f70f535..011f5af3ad 100644 --- a/test/Driver/cuda-march.cu +++ b/test/Driver/cuda-march.cu @@ -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"