[clang] [DTLTO][TEST] Make Clang driver tests more robust (PR #159151)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 16 11:55:17 PDT 2025
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 clang/test/Driver/DTLTO/filename.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
--- filename.py 2025-09-16 18:50:42.000000 +0000
+++ filename.py 2025-09-16 18:54:52.137792 +0000
@@ -1,3 +1,4 @@
from pathlib import Path
import sys
+
print(f"filename.py:{Path(sys.argv[1]).name}")
``````````
</details>
https://github.com/llvm/llvm-project/pull/159151
More information about the cfe-commits
mailing list