summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2023-01-07 04:14:14 +0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-01-07 12:15:15 -0500
commit734847108420cf826a807c30ad54651659cf3a08 (patch)
treeb226a28e66a971b53c99789e9e1add018fc0c492
parenta960ca817d6ad0109ea6edda50da3902cc538e86 (diff)
downloadhaskell-734847108420cf826a807c30ad54651659cf3a08.tar.gz
Skip T18623 on darwin (to add to the long list of OSs)
On recent versions of OSX, running `ulimit -v` results in ``` ulimit: setrlimit failed: invalid argument ``` Time is too short to work out what random stuff Apple has been doing with ulimit, so just skip the test like we do for other platforms.
-rw-r--r--testsuite/tests/rts/T18623/all.T2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/rts/T18623/all.T b/testsuite/tests/rts/T18623/all.T
index c03ef8927c..ad948a8f03 100644
--- a/testsuite/tests/rts/T18623/all.T
+++ b/testsuite/tests/rts/T18623/all.T
@@ -5,6 +5,8 @@ test('T18623',
# This keeps failing on aarch64-linux for reasons that are not
# fully clear. Maybe it needs a higher limit due to LLVM?
when(arch('aarch64'), skip),
+ # Recent versions of osx report an error when running `ulimit -v`
+ when(arch('darwin'), skip),
when(arch('powerpc64le'), skip),
cmd_prefix('ulimit -v ' + str(1024 ** 2) + ' && '),
ignore_stdout],