From fab44c12e7f91e0d81e1d3d0b60ffc970e8e915d Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 8 Oct 2009 11:01:26 +0000 Subject: run fdReadBuf only the threaded ways (fixed unregisterised failure) --- tests/all.T | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') 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']), -- cgit v1.2.3