# 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') or opsys('openbsd'), 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),
     # Recent versions of osx report an error when running `ulimit -v`
     when(opsys('darwin'), skip),
     when(arch('powerpc64le'), skip),
     cmd_prefix('ulimit -v ' + str(8 * 1024 ** 2) + ' && '),
     ignore_stdout],
    run_command,
    ['{compiler} --version'])
