Author: rafael Date: Fri Sep 18 15:35:53 2015 New Revision: 248031 URL: http://llvm.org/viewvc/llvm-project?rev=248031&view=rev Log: 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. Modified: cfe/trunk/test/Driver/amdgpu-toolchain.c Modified: cfe/trunk/test/Driver/amdgpu-toolchain.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/amdgpu-toolchain.c?rev=248031&r1=248030&r2=248031&view=diff ============================================================================== --- cfe/trunk/test/Driver/amdgpu-toolchain.c (original) +++ cfe/trunk/test/Driver/amdgpu-toolchain.c Fri Sep 18 15:35:53 2015 @@ -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" _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits