[HIP] Improve check patterns to avoid test failures in case string "opt",

etc. happens to be in the InstallDir path in the -### output.

Differential Revision: https://reviews.llvm.org/D82046
This commit is contained in:
Hiroshi Yamauchi 2020-06-17 12:35:33 -07:00
parent 6c7e1b16fa
commit ce82b8e8af
1 changed files with 6 additions and 6 deletions

View File

@ -154,14 +154,14 @@
// Link host objects.
//
// LINK-NOT: llvm-link
// LINK-NOT: opt
// LINK-NOT: llc
// LINK-NOT: {{".*/llvm-link"}}
// LINK-NOT: {{".*/opt"}}
// LINK-NOT: {{".*/llc"}}
// LINK: [[LD:".*ld.*"]] {{.*}} [[A_OBJ_HOST]] [[B_OBJ_HOST]]
// LINK-NOT: "-T" "{{.*}}.lk"
// LKONLY-NOT: llvm-link
// LKONLY-NOT: opt
// LKONLY-NOT: llc
// LKONLY-NOT: {{".*/llvm-link"}}
// LKONLY-NOT: {{".*/opt"}}
// LKONLY-NOT: {{".*/llc"}}
// LKONLY: [[LD:".*ld.*"]] {{.*}} "{{.*/a.o}}" "{{.*/b.o}}"
// LKONLY-NOT: "-T" "{{.*}}.lk"