From: Rafael Espindola Date: Fri, 18 Sep 2015 20:35:53 +0000 (+0000) Subject: Relax this test further to pass in other bots. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3facffac5d325c7397466a3a1d291ff05b3a6a4b;p=clang 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 --- 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"