Commit a7ae775f authored by's avatar
Browse files

Disable outofmem for OS X

* Setting a ulimit  -v or -m seems to have no effect on OS X
* At least on 64bit systems, it is a pain to have the test eat up all virtual memory before being terminated by the OS
parent 7a2c3dbc
...@@ -35,7 +35,8 @@ test('divbyzero', ...@@ -35,7 +35,8 @@ test('divbyzero',
if_platform('i386-unknown-mingw32', exit_code(1))]), if_platform('i386-unknown-mingw32', exit_code(1))]),
compile_and_run, ['']) compile_and_run, [''])
test('outofmem', normal, run_command, ['$MAKE -s --no-print-directory outofmem']) test('outofmem', if_os('darwin', skip),
run_command, ['$MAKE -s --no-print-directory outofmem'])
test('outofmem2', extra_run_opts('+RTS -M5m -RTS'), test('outofmem2', extra_run_opts('+RTS -M5m -RTS'),
run_command, ['$MAKE -s --no-print-directory outofmem2']) run_command, ['$MAKE -s --no-print-directory outofmem2'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment