Mark those tests which depend on libraries not built when cross-compiling
authorReid Barton <rwbarton@gmail.com>
Wed, 2 Oct 2013 00:56:02 +0000 (20:56 -0400)
committerAustin Seipp <austin@well-typed.com>
Wed, 2 Oct 2013 02:05:40 +0000 (21:05 -0500)
Issue #8393

Signed-off-by: Austin Seipp <austin@well-typed.com>
testsuite/tests/codeGen/should_run/all.T
testsuite/tests/concurrent/should_run/all.T
testsuite/tests/deriving/should_compile/all.T
testsuite/tests/ghci/scripts/all.T

index b51cc30..46cddbb 100644 (file)
@@ -113,4 +113,4 @@ test('Word2Float64', unless(wordsize(64), skip), compile_and_run, [''])
 test('T7361', normal, compile_and_run, [''])
 test('T7600', normal, compile_and_run, [''])
 test('T8103', only_ways(['normal']), compile_and_run, [''])
-test('T7953', normal, compile_and_run, [''])
+test('T7953', reqlib('random'), compile_and_run, [''])
index 15457fd..e495c09 100644 (file)
@@ -242,4 +242,4 @@ test('setnumcapabilities001',
      compile_and_run, [''])
 
 # omit ghci, which can't handle unboxed tuples:
-test('compareAndSwap', omit_ways(['ghci','hpc']), compile_and_run, [''])
+test('compareAndSwap', [omit_ways(['ghci','hpc']), reqlib('primitive')], compile_and_run, [''])
index d27f829..488c8e8 100644 (file)
@@ -41,4 +41,4 @@ test('T7710', normal, compile, [''])
 
 test('AutoDeriveTypeable', normal, compile, [''])
 
-test('T8138', normal, compile, ['-O2'])
\ No newline at end of file
+test('T8138', reqlib('primitive'), compile, ['-O2'])
index 2eb1a6f..06ba3bb 100755 (executable)
@@ -28,7 +28,7 @@ test('ghci014', reqlib('QuickCheck'), ghci_script, ['ghci014.script'])
 test('ghci015', ignore_output, ghci_script, ['ghci015.script'])
 
 test('ghci016', expect_broken(552), ghci_script, ['ghci016.script'])
-test('ghci017', extra_run_opts('-hide-package haskell98'), ghci_script, ['ghci017.script'])
+test('ghci017', [reqlib('haskell98'), extra_run_opts('-hide-package haskell98')], ghci_script, ['ghci017.script'])
 test('ghci018', expect_broken(1201), ghci_script, ['ghci018.script'])
 test('ghci019', normal, ghci_script, ['ghci019.script'])
 test('ghci020', normal, ghci_script, ['ghci020.script'])