llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-testing-tools Author: Vitaly Buka (vitalybuka) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/221156.diff 1 Files Affected: - (modified) llvm/utils/update_test_checks.py (+1-2) ``````````diff diff --git a/llvm/utils/update_test_checks.py b/llvm/utils/update_test_checks.py index 25b8c282e9cf0..821af28c1b126 100755 --- a/llvm/utils/update_test_checks.py +++ b/llvm/utils/update_test_checks.py @@ -72,8 +72,7 @@ def update_test(ti: common.TestInfo): continue tool_cmd_args = tool_cmd[len(tool_basename) :].strip() - tool_cmd_args = re.sub(r"(?:^|\s)< %s(?=\s|$)", "", tool_cmd_args) - tool_cmd_args = re.sub(r"(?:^|\s)%s(?=\s|$)", "", tool_cmd_args).strip() + tool_cmd_args = re.sub(r"(?:^|\s)(?:<\s*)?%s(?=\s|$)", "", tool_cmd_args).strip() check_prefixes = common.get_check_prefixes(filecheck_cmd) # FIXME: We should use multiple check prefixes to common check lines. For `````````` </details> https://github.com/llvm/llvm-project/pull/221156 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
