From 040309f6915306cc7aa7da02f144fe026e4fb6fe Mon Sep 17 00:00:00 2001 From: Milan Straka Date: Tue, 16 Dec 2014 00:24:50 +0100 Subject: [PATCH] Add the include dir also to tests. This worked with Typeable because Typeable from `base` instead of `containers` was used. --- containers.cabal | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/containers.cabal b/containers.cabal index afd2e34bf..6c776935b 100644 --- a/containers.cabal +++ b/containers.cabal @@ -85,6 +85,7 @@ Test-suite map-lazy-properties build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.5, ghc-prim ghc-options: -O2 + include-dirs: include extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types build-depends: @@ -102,6 +103,7 @@ Test-suite map-strict-properties build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.5, ghc-prim ghc-options: -O2 + include-dirs: include extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types build-depends: @@ -119,6 +121,7 @@ Test-suite set-properties build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.5, ghc-prim ghc-options: -O2 + include-dirs: include extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types build-depends: @@ -136,6 +139,7 @@ Test-suite intmap-lazy-properties build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.5, ghc-prim ghc-options: -O2 + include-dirs: include extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types build-depends: @@ -153,6 +157,7 @@ Test-suite intmap-strict-properties build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.5, ghc-prim ghc-options: -O2 + include-dirs: include extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types build-depends: @@ -170,6 +175,7 @@ Test-suite intset-properties build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.5, ghc-prim ghc-options: -O2 + include-dirs: include extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types build-depends: @@ -187,6 +193,7 @@ Test-suite deprecated-properties build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.5, ghc-prim ghc-options: -O2 + include-dirs: include extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types build-depends: @@ -202,6 +209,7 @@ Test-suite seq-properties build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.5, ghc-prim ghc-options: -O2 + include-dirs: include extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types build-depends: @@ -225,6 +233,7 @@ test-suite map-strictness-properties test-framework-quickcheck2 >= 0.2.9 ghc-options: -Wall + include-dirs: include test-suite intmap-strictness-properties hs-source-dirs: tests, . @@ -242,3 +251,4 @@ test-suite intmap-strictness-properties test-framework-quickcheck2 >= 0.2.9 ghc-options: -Wall + include-dirs: include