r248031 - Relax this test further to pass in other bots.

Rafael Espindola via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 18 13:35:53 PDT 2015


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"




More information about the cfe-commits mailing list