summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-07-06 20:24:48 +0100
committerIan Lynagh <igloo@earth.li>2011-07-08 13:13:03 +0100
commit85001ae616204994980f366532a6f80a38870705 (patch)
tree3b0018b5f47e27101051d9f4d1c50776c196a004 /testsuite/tests
parent6cd79098ce47898303c9fd5d74a255f9ecd37bd5 (diff)
downloadhaskell-85001ae616204994980f366532a6f80a38870705.tar.gz
Mark tests which depend on random
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/ghc-regress/array/should_run/all.T2
-rw-r--r--testsuite/tests/ghc-regress/codeGen/should_run/all.T2
-rw-r--r--testsuite/tests/ghc-regress/concurrent/should_run/all.T5
-rw-r--r--testsuite/tests/ghc-regress/lib/Concurrent/all.T2
-rw-r--r--testsuite/tests/ghc-regress/lib/should_run/all.T2
5 files changed, 7 insertions, 6 deletions
diff --git a/testsuite/tests/ghc-regress/array/should_run/all.T b/testsuite/tests/ghc-regress/array/should_run/all.T
index 38067940ed..8b1ab2dd4d 100644
--- a/testsuite/tests/ghc-regress/array/should_run/all.T
+++ b/testsuite/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/testsuite/tests/ghc-regress/codeGen/should_run/all.T b/testsuite/tests/ghc-regress/codeGen/should_run/all.T
index c12de29a72..f4a5dc66af 100644
--- a/testsuite/tests/ghc-regress/codeGen/should_run/all.T
+++ b/testsuite/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/testsuite/tests/ghc-regress/concurrent/should_run/all.T b/testsuite/tests/ghc-regress/concurrent/should_run/all.T
index c177c41fa5..cdcbd6da68 100644
--- a/testsuite/tests/ghc-regress/concurrent/should_run/all.T
+++ b/testsuite/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/testsuite/tests/ghc-regress/lib/Concurrent/all.T b/testsuite/tests/ghc-regress/lib/Concurrent/all.T
index ac2d8ae292..004c6a1226 100644
--- a/testsuite/tests/ghc-regress/lib/Concurrent/all.T
+++ b/testsuite/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/testsuite/tests/ghc-regress/lib/should_run/all.T b/testsuite/tests/ghc-regress/lib/should_run/all.T
index 74cab5e50a..bc5e6b02b4 100644
--- a/testsuite/tests/ghc-regress/lib/should_run/all.T
+++ b/testsuite/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, [''])