summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/T18623/all.T
blob: b673415a9d8aa19eb659b99f5bff672aaa9045a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Starting GHC on *nix with vmem limit, RTS will reserve all available memory
# and crash when creating a thread. Fix reserves only 2/3rds  of vmem_limit.
test('T18623',
    [when(opsys('mingw32'), skip),
     # 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),
     when(arch('powerpc64le'), skip),
     cmd_prefix('ulimit -v ' + str(1024 ** 2) + ' && '),
     ignore_stdout],
    run_command,
    ['{compiler} --version'])