Skip to content

Commit dbd2815

Browse files
authored
[UR] Fix invalid FileCheck regex (#18061)
Negative lookahead is supported in the Python FileCheck we use during UR testing, but not in upstream lit's version.
1 parent 5297894 commit dbd2815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unified-runtime/test/layers/validation/lifetime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ TEST_F(urTest, testUrAdapterHandleLifetimeExpectFail) {
1919

2020
// CHECK: [ RUN ] valAdapterTest.testUrAdapterHandleLifetimeExpectSuccess
2121
// CHECK-NEXT: <VALIDATION>[DEBUG]: Reference count for handle {{[0-9xa-fA-F]+}} changed to 1
22-
// CHECK-NEXT: {{^(?!.*There are no valid references to handle).*$}}
22+
// CHECK-NOT: There are no valid references to handle
2323
TEST_F(valAdapterTest, testUrAdapterHandleLifetimeExpectSuccess) {
2424
size_t size = 0;
2525
ur_adapter_info_t info_type = UR_ADAPTER_INFO_BACKEND;

0 commit comments

Comments
 (0)