]> granicus.if.org Git - clang/commitdiff
Patch "Compilation for Intel MCU (Part 2/3)" caused the clang-x64-ninja-win7
authorAndrey Turetskiy <andrey.turetskiy@gmail.com>
Thu, 16 Jun 2016 12:26:20 +0000 (12:26 +0000)
committerAndrey Turetskiy <andrey.turetskiy@gmail.com>
Thu, 16 Jun 2016 12:26:20 +0000 (12:26 +0000)
buildbot to fail because of inaccurate CHECK in the test. This is a quick fix
for the test to make it platform independent.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272887 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/miamcu-opt.c

index c53ebfdadfebc2ceec8f91096c0c6920a9afeba4..256a5bddac31709cdc198d2a940545f06c30b23a 100644 (file)
 
 // NOT-X86: error: unsupported option '-miamcu' for target 'armv8---eabi'
 
-// CHECK: "-cc1"
+// CHECK: "{{.*}}clang{{.*}}" "-cc1"
 // CHECK: "-triple" "i586-intel-elfiamcu"
 // CHECK: "-static-define"
 // CHECK: "-mfloat-abi" "soft"
 // CHECK: "-mstack-alignment=4"
 
-// CHECK: bin/ld
+// CHECK: "{{.*}}ld{{(.exe)?}}"
 // CHECK: "-m" "elf_iamcu"
 // CHECK: "-static"
 // CHECK-NOT: crt1