diff options
author | Austin Seipp <mad.one@gmail.com> | 2013-02-03 21:22:51 -0600 |
---|---|---|
committer | Austin Seipp <mad.one@gmail.com> | 2013-02-03 21:22:51 -0600 |
commit | 7dc2f44e3a1c548a10c9a98fb428983b3d6e2a59 (patch) | |
tree | 4c8bc63fb4a99902112bd46431f6647fe70bb976 /testsuite/tests/ghci | |
parent | 4200e0aa9f94b15b0d6bf9c732c56c1a11bcfd97 (diff) | |
download | haskell-7dc2f44e3a1c548a10c9a98fb428983b3d6e2a59.tar.gz |
Skip ghci/linking tests if we don't have ghci.
Otherwise, you get annoying failures if you run 'make fast stage=1'.
Signed-off-by: Austin Seipp <mad.one@gmail.com>
Diffstat (limited to 'testsuite/tests/ghci')
-rw-r--r-- | testsuite/tests/ghci/linking/all.T | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/tests/ghci/linking/all.T b/testsuite/tests/ghci/linking/all.T index 39be389b5c..bd87173c84 100644 --- a/testsuite/tests/ghci/linking/all.T +++ b/testsuite/tests/ghci/linking/all.T @@ -1,11 +1,12 @@ test('ghcilink001', [if_ghci_dynamic(expect_fail), # dynamic ghci can't load '.a's + skip_if_no_ghci, extra_clean(['dir001/*','dir001'])], run_command, ['$MAKE -s --no-print-directory ghcilink001']) test('ghcilink002', - extra_clean(['dir002/*','dir002']), + [skip_if_no_ghci, extra_clean(['dir002/*','dir002'])], run_command, ['$MAKE -s --no-print-directory ghcilink002']) @@ -13,6 +14,7 @@ test('ghcilink003', [ if_os('mingw32', expect_broken(5289)), # still cannot load libstdc++ # on Windows. See also #4468. + skip_if_no_ghci, extra_clean(['dir003/*','dir003']) ], run_command, @@ -20,12 +22,13 @@ test('ghcilink003', test('ghcilink004', [if_ghci_dynamic(expect_fail), # dynamic ghci can't load '.a's + skip_if_no_ghci, extra_clean(['dir004/*','dir004'])], run_command, ['$MAKE -s --no-print-directory ghcilink004']) test('ghcilink005', - extra_clean(['dir005/*','dir005']), + [skip_if_no_ghci, extra_clean(['dir005/*','dir005'])], run_command, ['$MAKE -s --no-print-directory ghcilink005']) @@ -33,6 +36,7 @@ test('ghcilink006', [ if_os('mingw32', expect_broken(5289)), # still cannot load libstdc++ # on Windows. See also #4468. + skip_if_no_ghci, extra_clean(['dir006/*','dir006']) ], run_command, |