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

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


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

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


>From fee8c96d7271b6c90f555d6c499c1cc1f7f002c1 Mon Sep 17 00:00:00 2001
From: Jay Foad <jay.foad at amd.com>
Date: Mon, 10 Jun 2024 14:48:11 +0100
Subject: [PATCH] [lit] Skip xunit test on Windows only

This test works on Linux with lit's internal shell. It fails on Windows
because sh is not available.
---
 llvm/utils/lit/tests/xunit-output.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the llvm-commits mailing list