]> granicus.if.org Git - clang/commitdiff
Relax this test further to pass in other bots.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 18 Sep 2015 20:35:53 +0000 (20:35 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 18 Sep 2015 20:35:53 +0000 (20:35 +0000)
The problem this time was the /clang matching the InstalledDir line.

Now we just use regular expressions which are more flexible, if a bit less
readable, than CHECK+CHECK-SAME.

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

test/Driver/amdgpu-toolchain.c

index 5c131b3fd0c42dacba10255c13b4cc8b85eaebff..06eddfe5a10606e0492db78d7192cada9391aa35 100644 (file)
@@ -1,5 +1,3 @@
 // RUN: %clang -### -target amdgcn--amdhsa -x assembler -mcpu=kaveri %s 2>&1 | FileCheck -check-prefix=AS_LINK %s
-// AS_LINK: /clang
-// AS_LINK-SAME: "-cc1as"
-// AS_LINK: /lld
-// AS_LINK-SAME: "-flavor" "gnu" "-target" "amdgcn--amdhsa"
+// AS_LINK: bin/clang {{.*}} "-cc1as"
+// AS_LINK: bin/lld {{.*}} "-flavor" "gnu" "-target" "amdgcn--amdhsa"