Ticket #8395: 0001-Mark-those-tests-which-depend-on-libraries-not-built.patch

File 0001-Mark-those-tests-which-depend-on-libraries-not-built.patch, 2.7 KB (added by rwbarton, 7 months ago)
  • tests/codeGen/should_run/all.T

    From e233b503ebb4f493d4b511ac588fa8ee8a23c8fd Mon Sep 17 00:00:00 2001
    From: Reid Barton <rwbarton@gmail.com>
    Date: Tue, 1 Oct 2013 20:56:02 -0400
    Subject: [PATCH 1/3] Mark those tests which depend on libraries not built when cross-compiling
    
    ---
     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 b test('Word2Float64', unless(wordsize(64), skip), compile_and_run, ['']) 
    113113test('T7361', normal, compile_and_run, ['']) 
    114114test('T7600', normal, compile_and_run, ['']) 
    115115test('T8103', only_ways(['normal']), compile_and_run, ['']) 
    116 test('T7953', normal, compile_and_run, ['']) 
     116test('T7953', reqlib('random'), compile_and_run, ['']) 
  • tests/concurrent/should_run/all.T

    diff --git a/tests/concurrent/should_run/all.T b/tests/concurrent/should_run/all.T
    index 15457fd..e495c09 100644
    a b test('setnumcapabilities001', 
    242242     compile_and_run, ['']) 
    243243 
    244244# omit ghci, which can't handle unboxed tuples: 
    245 test('compareAndSwap', omit_ways(['ghci','hpc']), compile_and_run, ['']) 
     245test('compareAndSwap', [omit_ways(['ghci','hpc']), reqlib('primitive')], compile_and_run, ['']) 
  • tests/deriving/should_compile/all.T

    diff --git a/tests/deriving/should_compile/all.T b/tests/deriving/should_compile/all.T
    index d27f829..488c8e8 100644
    a b test('T7710', normal, compile, ['']) 
    4141 
    4242test('AutoDeriveTypeable', normal, compile, ['']) 
    4343 
    44 test('T8138', normal, compile, ['-O2']) 
    45  No newline at end of file 
     44test('T8138', reqlib('primitive'), compile, ['-O2']) 
  • tests/ghci/scripts/all.T

    diff --git a/tests/ghci/scripts/all.T b/tests/ghci/scripts/all.T
    index 2eb1a6f..06ba3bb 100755
    a b test('ghci014', reqlib('QuickCheck'), ghci_script, ['ghci014.script']) 
    2828test('ghci015', ignore_output, ghci_script, ['ghci015.script']) 
    2929 
    3030test('ghci016', expect_broken(552), ghci_script, ['ghci016.script']) 
    31 test('ghci017', extra_run_opts('-hide-package haskell98'), ghci_script, ['ghci017.script']) 
     31test('ghci017', [reqlib('haskell98'), extra_run_opts('-hide-package haskell98')], ghci_script, ['ghci017.script']) 
    3232test('ghci018', expect_broken(1201), ghci_script, ['ghci018.script']) 
    3333test('ghci019', normal, ghci_script, ['ghci019.script']) 
    3434test('ghci020', normal, ghci_script, ['ghci020.script'])