Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/2a39b8fb3ec049e85823515717da12b70548610f >--------------------------------------------------------------- commit 2a39b8fb3ec049e85823515717da12b70548610f Author: Simon Marlow <[email protected]> Date: Thu Dec 1 15:14:45 2011 +0000 posix009: omit threaded ways >--------------------------------------------------------------- config/ghc | 2 +- tests/lib/libposix/all.T | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/ghc b/config/ghc index e030e7f..195f067 100644 --- a/config/ghc +++ b/config/ghc @@ -122,7 +122,7 @@ prof_ways = map (lambda x: x[0], \ config.way_flags.items())) threaded_ways = map (lambda x: x[0], \ - filter(lambda x: '-threaded' in x[1], \ + filter(lambda x: '-threaded' in x[1] or 'ghci' == x[0], \ config.way_flags.items())) opt_ways = map (lambda x: x[0], \ diff --git a/tests/lib/libposix/all.T b/tests/lib/libposix/all.T index 9c783ac..142c782 100644 --- a/tests/lib/libposix/all.T +++ b/tests/lib/libposix/all.T @@ -11,7 +11,7 @@ test('posix004', [ reqlib('unix'), expect_fail_for(['threaded2']) ], test('posix005', [reqlib('unix'), expect_broken(5648)], compile_and_run, ['']) test('posix006', reqlib('unix'), compile_and_run, ['']) -test('posix009', reqlib('unix'), compile_and_run, ['']) +test('posix009', [ omit_ways(threaded_ways), reqlib('unix') ], compile_and_run, ['']) test('posix010', reqlib('unix'), compile_and_run, ['']) # Uses forkProcess; doesn't work with threaded2 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
