summaryrefslogtreecommitdiff
path: root/testsuite/tests/concurrent/prog002/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/concurrent/prog002/all.T')
-rw-r--r--testsuite/tests/concurrent/prog002/all.T17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/tests/concurrent/prog002/all.T b/testsuite/tests/concurrent/prog002/all.T
new file mode 100644
index 0000000000..f87bc8b77f
--- /dev/null
+++ b/testsuite/tests/concurrent/prog002/all.T
@@ -0,0 +1,17 @@
+# Test for bug #713, results in crashes in GHC prior to 20060315 with +RTS -N2
+
+# the conditions are fairly delicate. It must be compiled without optimisation,
+# hence -O0:
+
+test('concprog002',
+ # Add 'threaded2_hT' so that we have at least one test for bug #5127
+ [only_ways(['threaded2','threaded2_hT']),
+ extra_ways(['threaded2_hT']),
+ exit_code(1),
+ skip_if_fast,
+ extra_clean(['Event.hi', 'Event.o',
+ 'Scheduler.hi', 'Scheduler.o',
+ 'Server.hi', 'Server.o',
+ 'Thread.hi', 'Thread.o'])],
+ multimod_compile_and_run,
+ ['Server','-O0'])