[llvm] [lit] Skip xunit test on Windows only (PR #94980)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 06:49:50 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-testing-tools

Author: Jay Foad (jayfoad)

<details>
<summary>Changes</summary>

This test works on Linux with lit's internal shell. It fails on Windows
because sh is not available.


---
Full diff: https://github.com/llvm/llvm-project/pull/94980.diff


1 Files Affected:

- (modified) llvm/utils/lit/tests/xunit-output.py (+1-1) 


``````````diff
diff --git a/llvm/utils/lit/tests/xunit-output.py b/llvm/utils/lit/tests/xunit-output.py
index 92b693256c69b..67d99849fe36d 100644
--- a/llvm/utils/lit/tests/xunit-output.py
+++ b/llvm/utils/lit/tests/xunit-output.py
@@ -1,4 +1,4 @@
-# REQUIRES: shell
+# UNSUPPORTED: system-windows
 
 # Check xunit output
 # RUN: rm -rf %t.xunit.xml

``````````

</details>


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


More information about the llvm-commits mailing list