summaryrefslogtreecommitdiff
path: root/test/Driver/amdgpu-toolchain.c
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-09-18 20:35:53 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-09-18 20:35:53 +0000
commit3facffac5d325c7397466a3a1d291ff05b3a6a4b (patch)
tree12d413a55a68ed879ebd5bf3664dbb6bb64751da /test/Driver/amdgpu-toolchain.c
parenta52a248ec8d38168dd15989ec6daacad1d43bdbb (diff)
downloadclang-3facffac5d325c7397466a3a1d291ff05b3a6a4b.tar.gz
Relax this test further to pass in other bots.
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
Diffstat (limited to 'test/Driver/amdgpu-toolchain.c')
-rw-r--r--test/Driver/amdgpu-toolchain.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Driver/amdgpu-toolchain.c b/test/Driver/amdgpu-toolchain.c
index 5c131b3fd0..06eddfe5a1 100644
--- a/test/Driver/amdgpu-toolchain.c
+++ b/test/Driver/amdgpu-toolchain.c
@@ -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"