summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2023-01-07 04:14:14 +0800
committerMatthew Pickering <matthewtpickering@gmail.com>2023-01-06 20:29:57 +0000
commit7661ccc3dac8a2664bd64fb32993fb38cf64e8fc (patch)
tree6d2860c8be4f567bf747b67d5e0e13fd03466ada
parent575fe1f016ea7775cef92f1d6ec29279cfc3192c (diff)
downloadhaskell-7661ccc3dac8a2664bd64fb32993fb38cf64e8fc.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],