Skip to content

Commit bb6ae63

Browse files
feedback
1 parent 93fd2e4 commit bb6ae63

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed
File renamed without changes.
File renamed without changes.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Check the ulimit command
2+
3+
# ulimit does not work on non-POSIX platforms.
4+
# These tests are specific to options that Darwin does not support.
5+
# UNSUPPORTED: system-windows, system-darwin
6+
7+
# RUN: not %{lit} -a -v %{inputs}/shtest-ulimit-nondarwin | FileCheck %s
8+
9+
# CHECK: -- Testing: 1 tests{{.*}}
10+
11+
# CHECK-LABEL: FAIL: shtest-ulimit :: ulimit_okay.txt ({{[^)]*}})
12+
# CHECK: ulimit -v 1048576
13+
# CHECK: RLIMIT_AS=1073741824

llvm/utils/lit/tests/shtest-ulimit.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# UNSUPPORTED: system-windows
55

66
# RUN: not %{lit} -a -v %{inputs}/shtest-ulimit | FileCheck %s
7-
# RUN: %if system-linux %{ not %{lit} -a -v %{inputs}/shtest-ulimit-linux | FileCheck %s --check-prefix CHECK-LINUX %}
87

98
# CHECK: -- Testing: 2 tests{{.*}}
109

@@ -15,9 +14,3 @@
1514
# CHECK-LABEL: FAIL: shtest-ulimit :: ulimit_okay.txt ({{[^)]*}})
1615
# CHECK: ulimit -n 50
1716
# CHECK: RLIMIT_NOFILE=50
18-
19-
# CHECK-LINUX: -- Testing: 1 tests{{.*}}
20-
21-
# CHECK-LINUX-LABEL: FAIL: shtest-ulimit :: ulimit_okay.txt ({{[^)]*}})
22-
# CHECK-LINUX: ulimit -v 1048576
23-
# CHECK-LINUX: RLIMIT_AS=1073741824

0 commit comments

Comments
 (0)