Commit 7dc2f44e authored by mad.one@gmail.com's avatar mad.one@gmail.com
Browse files

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: mad.one@gmail.com's avatarAustin Seipp <mad.one@gmail.com>
parent 4200e0aa
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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment