HomePhabricator

depends: latest rapidcheck, use INSTALL_ALL_EXTRAS

Description

depends: latest rapidcheck, use INSTALL_ALL_EXTRAS

Summary:

This updates RapidCheck to the latest version available from
https://github.com/emil-e/rapidcheck.

RapidCheck now uses the new RC_INSTALL_ALL_EXTRAS option, to install the
extra boost_test packages, which should unblock progress in #14430.

Backport of core PR14853.

Depends on D5323.

Test Plan:
Assuming you are running a 64-bit Linux machine:

cd depends
RAPIDCHECK=1 make build-linux64

Check the rapidcheck package is built.

cd .. && mkdir buildLinux64 && cd buildLinux64
cmake -GNinja .. \
  -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Linux64.cmake \
  -DENABLE_PROPERTY_BASED_TESTS=ON

Check the rapidcheck lib found is the one from the depends.

ninja check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D5324

Details

Provenance
fanquake <fanquake@gmail.com>Authored on Dec 1 2018, 02:06
FabienCommitted on Feb 27 2020, 13:51
FabienPushed on Feb 27 2020, 13:51
Reviewer
Restricted Project
Differential Revision
D5324: depends: latest rapidcheck, use INSTALL_ALL_EXTRAS
Parents
rABCf9d5b98ef544: Integration of property based testing into Bitcoin ABC
Branches
Unknown
Tags
Unknown