[commit: testsuite] master: Mark those tests which depend on libraries not built when cross-compiling (47bd048)
git at git.haskell.org
git
Wed Oct 2 05:55:30 UTC 2013
Repository : ssh://git at git.haskell.org/testsuite
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/47bd048f243fd010e9d8e05039405263ef30ff54/testsuite
>---------------------------------------------------------------
commit 47bd048f243fd010e9d8e05039405263ef30ff54
Author: Reid Barton <rwbarton at gmail.com>
Date: Tue Oct 1 20:56:02 2013 -0400
Mark those tests which depend on libraries not built when cross-compiling
Issue #8393
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
47bd048f243fd010e9d8e05039405263ef30ff54
tests/codeGen/should_run/all.T | 2 +-
tests/concurrent/should_run/all.T | 2 +-
tests/deriving/should_compile/all.T | 2 +-
tests/ghci/scripts/all.T | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/codeGen/should_run/all.T b/tests/codeGen/should_run/all.T
index b51cc30..46cddbb 100644
--- a/tests/codeGen/should_run/all.T
+++ b/tests/codeGen/should_run/all.T
@@ -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, [''])
diff --git a/tests/concurrent/should_run/all.T b/tests/concurrent/should_run/all.T
index 15457fd..e495c09 100644
--- a/tests/concurrent/should_run/all.T
+++ b/tests/concurrent/should_run/all.T
@@ -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, [''])
diff --git a/tests/deriving/should_compile/all.T b/tests/deriving/should_compile/all.T
index d27f829..488c8e8 100644
--- a/tests/deriving/should_compile/all.T
+++ b/tests/deriving/should_compile/all.T
@@ -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'])
diff --git a/tests/ghci/scripts/all.T b/tests/ghci/scripts/all.T
index 2eb1a6f..06ba3bb 100755
--- a/tests/ghci/scripts/all.T
+++ b/tests/ghci/scripts/all.T
@@ -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'])
More information about the ghc-commits
mailing list