From 510fde3cc243589c2f5e51ff4e3151c33c6c3471 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 28 Jun 2022 19:36:28 +0000 Subject: [PATCH] Add a patch from main branch to fix some lit tests --- ...-GTEST_TOTAL_SHARDS-checking-for-som.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 0001-lit-test-relaxed-GTEST_TOTAL_SHARDS-checking-for-som.patch diff --git a/0001-lit-test-relaxed-GTEST_TOTAL_SHARDS-checking-for-som.patch b/0001-lit-test-relaxed-GTEST_TOTAL_SHARDS-checking-for-som.patch new file mode 100644 index 0000000..bea9d34 --- /dev/null +++ b/0001-lit-test-relaxed-GTEST_TOTAL_SHARDS-checking-for-som.patch @@ -0,0 +1,25 @@ +From 9d37895a71cb7f2acdf3cd5dc30d05d06bfe6bc5 Mon Sep 17 00:00:00 2001 +From: Yuanfang Chen +Date: Tue, 28 Jun 2022 10:29:20 -0700 +Subject: [PATCH] [lit][test] relaxed GTEST_TOTAL_SHARDS checking for some + googletests (2) + +Missed this in 14d3021c10d08 +--- + llvm/utils/lit/tests/googletest-crash.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/llvm/utils/lit/tests/googletest-crash.py b/llvm/utils/lit/tests/googletest-crash.py +index 9034ac6394b2..f83e0dc7dd0e 100644 +--- a/llvm/utils/lit/tests/googletest-crash.py ++++ b/llvm/utils/lit/tests/googletest-crash.py +@@ -22,5 +22,5 @@ + # CHECK-NEXT: shard JSON output does not exist: [[JSON]] + # CHECK-NEXT: *** + # CHECK: Failed Tests (1): +-# CHECK-NEXT: googletest-crash :: [[PATH]][[FILE]]/0/6 ++# CHECK-NEXT: googletest-crash :: [[PATH]][[FILE]]/0/{{[1-6]}} + # CHECK: Failed{{ *}}: 1 +-- +2.27.0 +