testsuite: Disable linkwhole test on Windows
authorBen Gamari <ben@smart-cactus.org>
Mon, 6 Mar 2017 21:50:28 +0000 (16:50 -0500)
committerBen Gamari <ben@smart-cactus.org>
Mon, 6 Mar 2017 23:51:04 +0000 (18:51 -0500)
It relies on System.Posix.DynamicLinker, which is not available.

testsuite/tests/driver/linkwhole/all.T

index dcef32b..294a879 100644 (file)
@@ -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'])
      run_command, ['$MAKE -s --no-print-directory linkwhole'])