[llvm] [lit] Split Linux specific ulimit tests (PR #158390)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 13 14:33:49 PDT 2025


================
@@ -3,13 +3,8 @@
 # ulimit does not work on non-POSIX platforms.
 # UNSUPPORTED: system-windows
 
-# TODO(boomanaiden154): The test fails on some non-Linux POSIX
-# platforms (like MacOS) due to the underlying system not supporting
-# ulimit -v. This test needs to be carved up so we keep full test
-# coverage on Linux and as much as possible on other platforms.
-# REQUIRES: system-linux
-
 # RUN: not %{lit} -a -v %{inputs}/shtest-ulimit | FileCheck %s
+# RUN: %if system-linux %{ not %{lit} -a -v %{inputs}/shtest-ulimit-linux | FileCheck %s --check-prefix CHECK-LINUX %}
----------------
boomanaiden154 wrote:

Done.

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


More information about the llvm-commits mailing list