[clang] clang/HIP: Remove REQUIRES windows from a test (PR #112411)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 16 08:39:19 PDT 2024


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 f3648046ec67b6be1743cc7760fc57820bcdc7f7...3f41cfc5d00ec704953a0474e679108f742de7c9 compiler-rt/test/profile/lit.cfg.py lldb/test/API/commands/expression/import-std-module/array/TestArrayFromStdModule.py lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py lldb/test/API/commands/expression/import-std-module/vector-of-vectors/TestVectorOfVectorsFromStdModule.py llvm/utils/lit/lit/reports.py llvm/utils/lit/tests/shtest-format.py llvm/utils/lit/tests/xunit-output.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- compiler-rt/test/profile/lit.cfg.py	2024-10-16 15:33:56.000000 +0000
+++ compiler-rt/test/profile/lit.cfg.py	2024-10-16 15:38:31.071742 +0000
@@ -76,11 +76,11 @@
             continue
         f = open(source_path, "r")
         try:
             data = f.read()
             # rpath is not supported on AIX, exclude all tests with them.
-            if ( "-rpath" in data ):
+            if "-rpath" in data:
                 config.excludes += [filename]
         finally:
             f.close()
 
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/112411


More information about the cfe-commits mailing list