diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-12-14 23:29:47 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-12-14 23:29:47 +0000 |
commit | cf240aa067b68c2d1327760ce1a3c2dfc7b061e7 (patch) | |
tree | 55dd207958b58dae50e91c506d87955c0da3f737 /testsuite/tests/driver/dynamicToo | |
parent | 6f506011adbd8d8b179d6fd4de3151b05650b60e (diff) | |
download | haskell-cf240aa067b68c2d1327760ce1a3c2dfc7b061e7.tar.gz |
Only run dynamicToo001 if we have both vanilla and dynamic libraries
Diffstat (limited to 'testsuite/tests/driver/dynamicToo')
-rw-r--r-- | testsuite/tests/driver/dynamicToo/all.T | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/testsuite/tests/driver/dynamicToo/all.T b/testsuite/tests/driver/dynamicToo/all.T index c10aa2ea48..a03c314d94 100644 --- a/testsuite/tests/driver/dynamicToo/all.T +++ b/testsuite/tests/driver/dynamicToo/all.T @@ -1,11 +1,13 @@ setTestOpts(only_compiler_types(['ghc'])) test('dynamicToo001', - extra_clean(['A001.o', 'B001.o', 'C001.o', - 'A001.hi', 'B001.hi', 'C001.hi', - 'A001.dyn_o', 'B001.dyn_o', 'C001.dyn_o', - 'A001.dyn_hi', 'B001.dyn_hi', 'C001.dyn_hi', - 's001', 'd001']), + [extra_clean(['A001.o', 'B001.o', 'C001.o', + 'A001.hi', 'B001.hi', 'C001.hi', + 'A001.dyn_o', 'B001.dyn_o', 'C001.dyn_o', + 'A001.dyn_hi', 'B001.dyn_hi', 'C001.dyn_hi', + 's001', 'd001']), + unless_have_vanilla(skip), + unless_have_dynamic(skip)], run_command, ['$MAKE -s --no-print-directory dynamicToo001']) |