Commit c64c8027 authored by Simon Marlow's avatar Simon Marlow

add req_smp

parent 0290ab29
......@@ -46,6 +46,7 @@ config.unregisterised = (ghc_unregisterised == 1)
if (ghc_with_threaded_rts == 1):
config.run_ways.append('threaded1')
if (ghc_with_smp == 1):
config.have_smp = True
config.run_ways.append('threaded2')
if (ghc_with_dynamic_rts == 1):
......
......@@ -87,6 +87,9 @@ class TestConfig:
# Do we have shared libraries?
self.have_shared_libs = False
# Do we have SMP support?
self.have_smp = False
# Are we testing an in-tree compiler?
self.in_tree_compiler = True
......
......@@ -125,6 +125,10 @@ def req_interp( opts ):
if not config.have_interp:
opts.expect = 'fail'
def req_smp( opts ):
if not config.have_smp:
opts.expect = 'fail'
def expect_broken( bug ):
return lambda opts, b=bug: _expect_broken (opts, b )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment