aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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']),