Author: Yaxun (Sam) Liu Date: 2020-08-19T00:41:14-04:00 New Revision: a11ab6e04c199c2a33d81c451e9e26bf18636dfc
URL: https://github.com/llvm/llvm-project/commit/a11ab6e04c199c2a33d81c451e9e26bf18636dfc DIFF: https://github.com/llvm/llvm-project/commit/a11ab6e04c199c2a33d81c451e9e26bf18636dfc.diff LOG: Fix test hip-target-id.hip Some build bot has lld in the directory name, which caused pattern match issue in the list test. Added: Modified: clang/test/Driver/hip-target-id.hip Removed: ################################################################################ diff --git a/clang/test/Driver/hip-target-id.hip b/clang/test/Driver/hip-target-id.hip index ce1a4f6c9d89..c4a5c5c6737e 100644 --- a/clang/test/Driver/hip-target-id.hip +++ b/clang/test/Driver/hip-target-id.hip @@ -35,8 +35,7 @@ // TMP-SAME: "-target-feature" "+sram-ecc" // TMP-SAME: "-target-feature" "+xnack" -// CHECK: [[LLD:"[^"]*lld[^"]*"]] -// CHECK-SAME: "-plugin-opt=mcpu=gfx908" +// CHECK: [[LLD:"[^"]*lld[^"]*"]] {{.*}} "-plugin-opt=mcpu=gfx908" // CHECK-SAME: "-plugin-opt=-mattr=+sram-ecc,+xnack" // CHECK: [[CLANG]] "-cc1" "-triple" "amdgcn-amd-amdhsa" @@ -44,8 +43,7 @@ // CHECK-SAME: "-target-feature" "-sram-ecc" // CHECK-SAME: "-target-feature" "+xnack" -// CHECK: [[LLD]] -// CHECK-SAME: "-plugin-opt=mcpu=gfx908" +// CHECK: [[LLD]] {{.*}} "-plugin-opt=mcpu=gfx908" // CHECK-SAME: "-plugin-opt=-mattr=-sram-ecc,+xnack" // CHECK: {{"[^"]*clang-offload-bundler[^"]*"}} _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits