From: Reid Kleckner Date: Thu, 25 Aug 2016 20:40:23 +0000 (+0000) Subject: Fix clang-offload-bundler.c test on Windows X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d0a003c3ac2e2bec9b5fc2b39cf4e006a90f5e0;p=clang Fix clang-offload-bundler.c test on Windows git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@279772 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/clang-offload-bundler.c b/test/Driver/clang-offload-bundler.c index caebe05c79..f0cec961d3 100644 --- a/test/Driver/clang-offload-bundler.c +++ b/test/Driver/clang-offload-bundler.c @@ -232,7 +232,7 @@ // CK-OBJ-CMD: private constant [1 x i8] zeroinitializer, section "__CLANG_OFFLOAD_BUNDLE__host-powerpc64le-ibm-linux-gnu" // CK-OBJ-CMD: private constant [25 x i8] c"Content of device file 1{{.+}}", section "__CLANG_OFFLOAD_BUNDLE__openmp-powerpc64le-ibm-linux-gnu" // CK-OBJ-CMD: private constant [25 x i8] c"Content of device file 2{{.+}}", section "__CLANG_OFFLOAD_BUNDLE__openmp-x86_64-pc-linux-gnu" -// CK-OBJ-CMD: clang" "-r" "-target" "powerpc64le-ibm-linux-gnu" "-o" "{{.+}}.o" "{{.+}}.o" "{{.+}}.bc" "-nostdlib" +// CK-OBJ-CMD: clang{{(.exe)?}}" "-r" "-target" "powerpc64le-ibm-linux-gnu" "-o" "{{.+}}.o" "{{.+}}.o" "{{.+}}.bc" "-nostdlib" // RUN: clang-offload-bundler -type=o -targets=host-powerpc64le-ibm-linux-gnu,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -outputs=%t.res.o,%t.res.tgt1,%t.res.tgt2 -inputs=%s.o -unbundle // RUN: diff %s.o %t.res.o