testsuite: Omit profasm way for cc017
authorBen Gamari <ben@smart-cactus.org>
Tue, 4 Jun 2019 00:59:13 +0000 (20:59 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 12 Jun 2019 12:20:25 +0000 (08:20 -0400)
cc017 requires TH but we can't load dynamic profiled objects.

testsuite/tests/ffi/should_compile/all.T

index c8dd636..69c5a38 100644 (file)
@@ -35,7 +35,8 @@ test('T11983', [omit_ways(['ghci'])], compile, ['T11983.c'])
 test('T14125', normal, compile, [''])
 test(
     'cc017',
-    normal,
+    # We need TH but can't load profiled dynamic objects
+    when(ghc_dynamic(), omit_ways(['profasm'])),
     compile,
     [
         '-optc=-DC -optcxx=-DCXX -optcxx=-std=c++11'