File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -268,6 +268,8 @@ Common common
268
268
if flag(network-tests)
269
269
CPP-Options :
270
270
-DNETWORK_TESTS
271
+ if flag(cross)
272
+ CPP-Options : -DCROSS
271
273
272
274
GHC-Options : -Wall -Wcompat -Wincomplete-uni-patterns -optP-Wno-unicode-homoglyph
273
275
@@ -432,10 +434,12 @@ Test-Suite tasty
432
434
Dhall.Test.Schemas
433
435
Dhall.Test.SemanticHash
434
436
Dhall.Test.Substitution
435
- Dhall.Test.TH
436
437
Dhall.Test.Tutorial
437
438
Dhall.Test.TypeInference
438
439
Dhall.Test.Util
440
+ if !flag(cross)
441
+ Other-Modules :
442
+ Dhall.Test.TH
439
443
Build-Depends :
440
444
dhall ,
441
445
foldl < 1.5 ,
Original file line number Diff line number Diff line change
1
+ {-# LANGUAGE CPP #-}
1
2
module Main where
2
3
3
4
import System.FilePath ((</>) )
@@ -17,7 +18,9 @@ import qualified Dhall.Test.QuickCheck
17
18
import qualified Dhall.Test.Regression
18
19
import qualified Dhall.Test.Schemas
19
20
import qualified Dhall.Test.SemanticHash
21
+ #ifndef CROSS
20
22
import qualified Dhall.Test.TH
23
+ #endif
21
24
import qualified Dhall.Test.Tags
22
25
import qualified Dhall.Test.Tutorial
23
26
import qualified Dhall.Test.TypeInference
@@ -69,7 +72,9 @@ getAllTests = do
69
72
, Dhall.Test.Tutorial. tests
70
73
, Dhall.Test.QuickCheck. tests
71
74
, Dhall.Test.Dhall. tests
75
+ #ifndef CROSS
72
76
, Dhall.Test.TH. tests
77
+ #endif
73
78
, Dhall.Test.Package. tests
74
79
]
75
80
You can’t perform that action at this time.
0 commit comments