[commit: ghc] master: testsuite: Disable linkwhole test on Windows (5dddf35)

git at git.haskell.org git at git.haskell.org
Mon Mar 6 23:51:46 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5dddf3546809c332a3de1e78a465798d2cb6eb94/ghc

>---------------------------------------------------------------

commit 5dddf3546809c332a3de1e78a465798d2cb6eb94
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Mar 6 16:50:28 2017 -0500

    testsuite: Disable linkwhole test on Windows
    
    It relies on System.Posix.DynamicLinker, which is not available.


>---------------------------------------------------------------

5dddf3546809c332a3de1e78a465798d2cb6eb94
 testsuite/tests/driver/linkwhole/all.T | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/driver/linkwhole/all.T b/testsuite/tests/driver/linkwhole/all.T
index dcef32b..294a879 100644
--- a/testsuite/tests/driver/linkwhole/all.T
+++ b/testsuite/tests/driver/linkwhole/all.T
@@ -1,2 +1,3 @@
-test('linkwhole', [extra_files(['Types.hs','Main.hs','MyCode.hs','Handles.hs'])],
+test('linkwhole', [extra_files(['Types.hs','Main.hs','MyCode.hs','Handles.hs']),
+                   when(opsys('mingw32'), skip)],
      run_command, ['$MAKE -s --no-print-directory linkwhole'])



More information about the ghc-commits mailing list