[Lldb-commits] [lldb] [lldb][windows] print stop reason if MSVC's runtime check fails (PR #185473)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 12 07:14:50 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r origin/main...HEAD lldb/test/API/windows/msvcrt/TestMSVCRTCException.py lldb/packages/Python/lldbsuite/test/decorators.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- packages/Python/lldbsuite/test/decorators.py 2026-03-12 14:12:23.000000 +0000
+++ packages/Python/lldbsuite/test/decorators.py 2026-03-12 14:14:07.380863 +0000
@@ -1058,10 +1058,11 @@
return "Test requires clang as compiler"
return None
return skipTestIfFn(is_compiler_clang)(func)
+
def skipUnlessMSVC(func):
"""Decorate the item to skip test unless msvc is available."""
def is_msvc_in_path():
result = subprocess.run(
``````````
</details>
https://github.com/llvm/llvm-project/pull/185473
More information about the lldb-commits
mailing list