Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/4b0b4a67502bb984599ffb23e07b32c1a0bb5023

>---------------------------------------------------------------

commit 4b0b4a67502bb984599ffb23e07b32c1a0bb5023
Author: Ian Lynagh <[email protected]>
Date:   Wed Jul 6 20:24:48 2011 +0100

    Mark tests which depend on random

>---------------------------------------------------------------

 tests/ghc-regress/array/should_run/all.T      |    2 +-
 tests/ghc-regress/codeGen/should_run/all.T    |    2 +-
 tests/ghc-regress/concurrent/should_run/all.T |    5 +++--
 tests/ghc-regress/lib/Concurrent/all.T        |    2 +-
 tests/ghc-regress/lib/should_run/all.T        |    2 +-
 5 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/tests/ghc-regress/array/should_run/all.T 
b/tests/ghc-regress/array/should_run/all.T
index 3806794..8b1ab2d 100644
--- a/tests/ghc-regress/array/should_run/all.T
+++ b/tests/ghc-regress/array/should_run/all.T
@@ -19,7 +19,7 @@ test('arr012', skip_if_fast, compile_and_run, [''])
 test('arr013', skip_if_fast, compile_and_run, [''])
 test('arr014', skip_if_fast, compile_and_run, [''])
 test('arr015', skip_if_fast, compile_and_run, [''])
-test('arr016', normal, compile_and_run, [''])
+test('arr016', reqlib('random'), compile_and_run, [''])
 test('arr017', skip_if_fast, compile_and_run, [''])
 test('arr018', skip_if_fast, compile_and_run, [''])
 test('arr019', normal, compile_and_run, [''])
diff --git a/tests/ghc-regress/codeGen/should_run/all.T 
b/tests/ghc-regress/codeGen/should_run/all.T
index c12de29..f4a5dc6 100644
--- a/tests/ghc-regress/codeGen/should_run/all.T
+++ b/tests/ghc-regress/codeGen/should_run/all.T
@@ -71,7 +71,7 @@ test('cgrun065', normal, compile_and_run, [''])
 test('cgrun066', normal, compile_and_run, [''])
 test('cgrun067', extra_clean(['Cgrun067A.hi', 'Cgrun067A.o']),
      compile_and_run, [''])
-test('cgrun068', normal, compile_and_run, [''])
+test('cgrun068', reqlib('random'), compile_and_run, [''])
 test('cgrun069', omit_ways(['ghci']), multisrc_compile_and_run,
                  ['cgrun069', ['cgrun069_cmm.cmm'], ''])
 test('cgrun070', normal, compile_and_run, [''])
diff --git a/tests/ghc-regress/concurrent/should_run/all.T 
b/tests/ghc-regress/concurrent/should_run/all.T
index c177c41..cdcbd6d 100644
--- a/tests/ghc-regress/concurrent/should_run/all.T
+++ b/tests/ghc-regress/concurrent/should_run/all.T
@@ -34,8 +34,9 @@ test('3429', extra_run_opts('+RTS -i0.001 -RTS'), 
compile_and_run, [''])
 test('4030', omit_ways('ghci'), compile_and_run, ['-O'])
 
 # each of these runs for about a second
-test('throwto001', extra_run_opts('1000 2000'), compile_and_run, [''])
-test('throwto002', ignore_output, compile_and_run, [''])
+test('throwto001', [reqlib('random'), extra_run_opts('1000 2000')],
+                   compile_and_run, [''])
+test('throwto002', [reqlib('random'), ignore_output], compile_and_run, [''])
 test('throwto003', normal, compile_and_run, [''])
 
 test('mask001', normal, compile_and_run, [''])
diff --git a/tests/ghc-regress/lib/Concurrent/all.T 
b/tests/ghc-regress/lib/Concurrent/all.T
index ac2d8ae..004c6a1 100644
--- a/tests/ghc-regress/lib/Concurrent/all.T
+++ b/tests/ghc-regress/lib/Concurrent/all.T
@@ -1,7 +1,7 @@
 setTestOpts(only_compiler_types(['ghc']))
 
 test('SampleVar001', reqlib('QuickCheck'), compile_and_run, ['-package 
QuickCheck'])
-test('4876', normal, compile_and_run, ['']) # another SampleVar test
+test('4876', reqlib('random'), compile_and_run, ['']) # another SampleVar test
 
 test('Chan001',      reqlib('QuickCheck'), compile_and_run, ['-package 
QuickCheck'])
 test('MVar001',      reqlib('QuickCheck'), compile_and_run, ['-package 
QuickCheck'])
diff --git a/tests/ghc-regress/lib/should_run/all.T 
b/tests/ghc-regress/lib/should_run/all.T
index 74cab5e..bc5e6b0 100644
--- a/tests/ghc-regress/lib/should_run/all.T
+++ b/tests/ghc-regress/lib/should_run/all.T
@@ -13,7 +13,7 @@ test('length001',
 
 test('ratio001',       normal, compile_and_run, [''])
 
-test('rand001',                normal, compile_and_run, [''])
+test('rand001',                reqlib('random'), compile_and_run, [''])
 test('reads001',               normal, compile_and_run, [''])
 test('show001',                normal, compile_and_run, [''])
 test('text001',                normal, compile_and_run, [''])



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to