add some reqlib('random')s 2.3
authorSimon Marlow <marlowsd@gmail.com>
Mon, 9 Jan 2012 11:58:04 +0000 (11:58 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 9 Jan 2012 11:58:04 +0000 (11:58 +0000)
tests/all.T

index 640f9d8..d1d6a33 100644 (file)
@@ -12,17 +12,20 @@ test('stm048',
                if_compiler_lt('ghc', '6.9', omit_ways(['ghci', 'threaded2']))]),
      compile_and_run, [''])
 
-test('stm049', only_compiler_types(['ghc']), compile_and_run, ['-package stm'])
+test('stm049', [ reqlib('random'), only_compiler_types(['ghc']) ],
+                compile_and_run, ['-package stm'])
 test('stm050', compose(only_compiler_types(['ghc']), extra_run_opts('10000')), compile_and_run, ['-package stm'])
 
 # Was failing prof ways due to #1547, but now apparently succeeds:
-test('stm052', if_compiler_lt('ghc', '6.9', 
-                               expect_broken_for(1547,['profc','profasm'])),
+test('stm052', [ reqlib('random'),
+                 if_compiler_lt('ghc', '6.9',
+                                expect_broken_for(1547,['profc','profasm'])) ],
      compile_and_run, ['-package stm'])
 
-test('stm053', compose(only_ways(['threaded1','threaded2']),
-                       if_platform('i386-unknown-mingw32', skip)),
-                compile_and_run, ['-package stm'])
+test('stm053', [ reqlib('random'),
+                 only_ways(['threaded1','threaded2']),
+                 if_platform('i386-unknown-mingw32', skip) ],
+               compile_and_run, ['-package stm'])
 test('stm054', normal, compile_and_run, ['-package stm'])
 test('stm055', exit_code(1), compile_and_run, ['-package stm'])
 test('stm056', only_ways(['threaded1','threaded2']),