ocamlPackages.qcheck*: 0.16 -> 0.17
* New exposed function, bug fixes: https://github.com/c-cube/qcheck/blob/0.17/CHANGELOG.md#017 * Fix a too liberal testing range causing an integer overflow in stdint which for some reason only qcheck 0.17 and not 0.16 seems to find
This commit is contained in:
committed by
Vincent Laporte
parent
4287f5adfa
commit
2f96b9a7b4
@@ -21,14 +21,18 @@ buildDunePackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
# disable remaining broken tests, see
|
||||
# https://github.com/andrenth/ocaml-stdint/issues/59
|
||||
# 1. disable remaining broken tests, see
|
||||
# https://github.com/andrenth/ocaml-stdint/issues/59
|
||||
# 2. fix tests to liberal test range
|
||||
# https://github.com/andrenth/ocaml-stdint/pull/61
|
||||
postPatch = ''
|
||||
substituteInPlace tests/stdint_test.ml \
|
||||
--replace 'test "An integer should perform left-shifts correctly"' \
|
||||
'skip "An integer should perform left-shifts correctly"' \
|
||||
--replace 'test "Logical shifts must not sign-extend"' \
|
||||
'skip "Logical shifts must not sign-extend"'
|
||||
'skip "Logical shifts must not sign-extend"' \
|
||||
--replace 'let pos_int = QCheck.map_same_type abs in_range' \
|
||||
'let pos_int = QCheck.int_range 0 maxi'
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user