summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2023-01-07 04:14:14 +0800
committerZubin Duggal <zubin.duggal@gmail.com>2023-02-07 18:47:09 +0530
commit8e0c0da573062bde6dd084f3bc1c0f548b82cc73 (patch)
tree8dd16567d2fe04312e95bb478631729a569f34c2
parent898ca9c6bec33b63da446e95424583c431326730 (diff)
downloadhaskell-8e0c0da573062bde6dd084f3bc1c0f548b82cc73.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. (cherry picked from commit 734847108420cf826a807c30ad54651659cf3a08)
-rw-r--r--testsuite/tests/rts/T18623/all.T5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/tests/rts/T18623/all.T b/testsuite/tests/rts/T18623/all.T
index 156da9632e..027a01fc2f 100644
--- a/testsuite/tests/rts/T18623/all.T
+++ b/testsuite/tests/rts/T18623/all.T
@@ -5,7 +5,10 @@ test('T18623',
# This keeps failing on aarch64-linux for reasons that are not
# fully clear. Maybe it needs a higher limit due to LLMV?
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],
run_command,
- ['{compiler} --version']) \ No newline at end of file
+ ['{compiler} --version'])