aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Simon Marlow <marlowsd@gmail.com>2009-10-08 11:01:26 +0000
committerGravatar Simon Marlow <marlowsd@gmail.com>2009-10-08 11:01:26 +0000
commitfab44c12e7f91e0d81e1d3d0b60ffc970e8e915d (patch)
treee0ce07c092ce4be49faed0cbff3c0b812197ca9e /tests
parentc952321b3fbb37beb2d49ec7b4be784f6fc6d036 (diff)
run fdReadBuf only the threaded ways (fixed unregisterised failure)
Diffstat (limited to 'tests')
-rw-r--r--tests/all.T7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/all.T b/tests/all.T
index b979a84..fa31856 100644
--- a/tests/all.T
+++ b/tests/all.T
@@ -32,7 +32,12 @@ test('getUserEntryForName', compose(conf, expect_fail), compile_and_run,
test('signals004', normal, compile_and_run, ['-package unix'])
-test('fdReadBuf001', only_ways(['threaded1','threaded2','ghci']), compile_and_run, ['-package unix'])
+if ('threaded1' in config.run_ways):
+ only_threaded_ways = only_ways(['ghci','threaded1','threaded2'])
+else:
+ only_threaded_ways = skip
+
+test('fdReadBuf001', only_threaded_ways, compile_and_run, ['-package unix'])
test('fileStatus',
extra_clean(['dir', 'regular', 'link-dir', 'link-regular']),