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
268268 if flag(network-tests)
269269 CPP-Options :
270270 -DNETWORK_TESTS
271+ if flag(cross)
272+ CPP-Options : -DCROSS
271273
272274 GHC-Options : -Wall -Wcompat -Wincomplete-uni-patterns -optP-Wno-unicode-homoglyph
273275
@@ -432,10 +434,12 @@ Test-Suite tasty
432434 Dhall.Test.Schemas
433435 Dhall.Test.SemanticHash
434436 Dhall.Test.Substitution
435- Dhall.Test.TH
436437 Dhall.Test.Tutorial
437438 Dhall.Test.TypeInference
438439 Dhall.Test.Util
440+ if !flag(cross)
441+ Other-Modules :
442+ Dhall.Test.TH
439443 Build-Depends :
440444 dhall ,
441445 foldl < 1.5 ,
Original file line number Diff line number Diff line change 1+ {-# LANGUAGE CPP #-}
12module Main where
23
34import System.FilePath ((</>) )
@@ -17,7 +18,9 @@ import qualified Dhall.Test.QuickCheck
1718import qualified Dhall.Test.Regression
1819import qualified Dhall.Test.Schemas
1920import qualified Dhall.Test.SemanticHash
21+ #ifndef CROSS
2022import qualified Dhall.Test.TH
23+ #endif
2124import qualified Dhall.Test.Tags
2225import qualified Dhall.Test.Tutorial
2326import qualified Dhall.Test.TypeInference
@@ -69,7 +72,9 @@ getAllTests = do
6972 , Dhall.Test.Tutorial. tests
7073 , Dhall.Test.QuickCheck. tests
7174 , Dhall.Test.Dhall. tests
75+ #ifndef CROSS
7276 , Dhall.Test.TH. tests
77+ #endif
7378 , Dhall.Test.Package. tests
7479 ]
7580
You can’t perform that action at this time.
0 commit comments