This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".
The branch, master has been updated
via 4320ba1dcfe49b659abbc46a6cf37e6a4db66f22 (commit)
from 088f1849a63b27823878511bdf779cd8f3b7056e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4320ba1dcfe49b659abbc46a6cf37e6a4db66f22
Author: Niklas Hambuechen <[email protected]>
Date: Fri Nov 7 23:48:46 2014 +0100
QuickCheck 2.7 compatibility
This makes our test compile with out errors with QuickCheck 2.7.
Warnings about the deprecation of printTestCase remain when using 2.7.
This change is backwards-compatible with all older versions of QuickCheck
that we support.
In 2.7, Property is no longer a monad, but remains a `Gen Prop` inside,
so that we only have to use combinations of `property` and `return`
to become compatible.
See
https://hackage.haskell.org/package/QuickCheck-2.7.6/changelog
Further, in QuickCheck 2.7, Positive/NonZero/NonNegative are no longer
instances of `Integral` (NonNegative could likely still be one, see
https://github.com/nick8325/quickcheck/issues/31).
Consequently we cannot create them using `fromIntegral` any more,
and switch to `fromEnum` instead, which also is backwards-compatible.
Signed-off-by: Niklas Hambuechen <[email protected]>
Reviewed-by: Klaus Aehlig <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
test/hs/Test/Ganeti/HTools/Types.hs | 24 ++++++++++++------------
test/hs/Test/Ganeti/JQScheduler.hs | 14 ++++++++------
test/hs/Test/Ganeti/JQueue.hs | 5 +++--
test/hs/Test/Ganeti/JSON.hs | 5 +++--
test/hs/Test/Ganeti/Objects/BitArray.hs | 4 ++--
test/hs/Test/Ganeti/Storage/Drbd/Types.hs | 12 ++++++------
test/hs/Test/Ganeti/TestCommon.hs | 2 +-
test/hs/Test/Ganeti/Utils.hs | 8 ++++----
8 files changed, 39 insertions(+), 35 deletions(-)
hooks/post-receive
--
Ganeti core
--
---
You received this message because you are subscribed to the Google Groups
"ganeti-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.