From df1b49440427d25d92e90c99fd7b1c57705e2100 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 18 Sep 2015 20:35:53 +0000 Subject: [PATCH] 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. llvm-svn: 248031 --- clang/test/Driver/amdgpu-toolchain.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/clang/test/Driver/amdgpu-toolchain.c b/clang/test/Driver/amdgpu-toolchain.c index 5c131b3fd0c4..06eddfe5a106 100644 --- a/clang/test/Driver/amdgpu-toolchain.c +++ b/clang/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"