Commit 8f5b0453 authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Rename some numeric tests: nnnn -> Tnnnn

parent 01c5ea91
test('5644', [
only_ways(['optasm','threaded1','threaded2']),
extra_run_opts('+RTS -M20m -RTS'),
exit_code(251) # RTS exit code for "out of memory"
],
multimod_compile_and_run,
['heap-overflow.hs','-O'])
......@@ -31,11 +31,11 @@ exec_signals-prep:
$(CC) -o exec_signals_child exec_signals_child.c
$(CC) -o exec_signals_prepare exec_signals_prepare.c
.PHONY: 4850
4850:
$(RM) 4850.o 4850.hi 4850$(exeext)
"$(TEST_HC)" $(TEST_HC_OPTS) -v0 -rtsopts -debug -threaded --make 4850
./4850 +RTS -s 2>&1 | grep TASKS | sed 's/^ *TASKS: *\([0-9]*\).*$$/\1/'
.PHONY: T4850
T4850:
$(RM) T4850.o T4850.hi T4850$(exeext)
"$(TEST_HC)" $(TEST_HC_OPTS) -v0 -rtsopts -debug -threaded --make T4850
./T4850 +RTS -s 2>&1 | grep TASKS | sed 's/^ *TASKS: *\([0-9]*\).*$$/\1/'
.PHONY: T5423
T5423:
......
5644: Heap exhausted;
T5644: Heap exhausted;
Current maximum heap size is 20971520 bytes (20 MB);
use `+RTS -M<size>' to increase it.
test('T5644', [
only_ways(['optasm','threaded1','threaded2']),
extra_run_opts('+RTS -M20m -RTS'),
exit_code(251) # RTS exit code for "out of memory"
],
multimod_compile_and_run,
['heap-overflow.hs','-O'])
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