[commit: packages/bytestring] master, revert-46-patch-1, wip/nix-local-build: Small adjustments (c42e99a)

git at git.haskell.org git at git.haskell.org
Tue May 3 22:42:53 UTC 2016


Repository : ssh://git@git.haskell.org/bytestring

On branches: master,revert-46-patch-1,wip/nix-local-build
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/c42e99a764c60f220b66d9117f146b31d95f7c9e

>---------------------------------------------------------------

commit c42e99a764c60f220b66d9117f146b31d95f7c9e
Author: Sean <burton.seanr at gmail.com>
Date:   Thu Sep 24 19:59:43 2015 +0100

    Small adjustments


>---------------------------------------------------------------

c42e99a764c60f220b66d9117f146b31d95f7c9e
 tests/Properties.hs | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/Properties.hs b/tests/Properties.hs
index a78270c..517e86c 100644
--- a/tests/Properties.hs
+++ b/tests/Properties.hs
@@ -152,7 +152,7 @@ prop_concatBP       = forAll (sized $ \n -> resize (n `div` 2) arbitrary) $
 prop_nullBP         = L.null                 `eq1`  P.null
 prop_reverseBP      = L.reverse              `eq1`  P.reverse
 
---prop_transposeBP    = L.transpose            `eq1`  P.transpose
+prop_transposeBP    = L.transpose            `eq1`  P.transpose
 prop_groupBP        = L.group                `eq1`  P.group
 prop_groupByBP      = L.groupBy              `eq2`  P.groupBy
 prop_initsBP        = L.inits                `eq1`  P.inits
@@ -1640,7 +1640,7 @@ short_tests =
 -- The entry point
 
 main :: IO ()
-main = defaultMain tests
+main = defaultMainWithArgs tests ["-o 3"] -- timeout if a test runs for >3 secs
 
 --
 -- And now a list of all the properties to test.
@@ -1900,7 +1900,7 @@ bp_tests =
     , testProperty "snoc"        prop_snocBP
     , testProperty "tail"        prop_tailBP
     , testProperty "scanl"       prop_scanlBP
---  , testProperty "transpose"   prop_transposeBP
+    , testProperty "transpose"   prop_transposeBP
     , testProperty "replicate"   prop_replicateBP
     , testProperty "take"        prop_takeBP
     , testProperty "drop"        prop_dropBP
@@ -2271,7 +2271,7 @@ ll_tests =
     , testProperty "reverse"            prop_reverse
     , testProperty "reverse1"           prop_reverse1
     , testProperty "reverse2"           prop_reverse2
-    , testProperty "transpose"          prop_transpose
+    --, testProperty "transpose"          prop_transpose
     , testProperty "foldl"              prop_foldl
     , testProperty "foldl/reverse"      prop_foldl_1
     , testProperty "foldr"              prop_foldr
@@ -2289,7 +2289,7 @@ ll_tests =
     , testProperty "all"                prop_all
     , testProperty "maximum"            prop_maximum
     , testProperty "minimum"            prop_minimum
-    , testProperty "replicate 1"        prop_replicate1
+    --, testProperty "replicate 1"        prop_replicate1
     , testProperty "replicate 2"        prop_replicate2
     , testProperty "take"               prop_take1
     , testProperty "drop"               prop_drop1



More information about the ghc-commits mailing list