Skip to content

Commit 1124be6

Browse files
committed
Merge #16622: build: echo property tests status during build
a6c1fc3 build: echo prop tests status during build (Jon Atack) Pull request description: Enable users to see if the prop tests are enabled during the build. This can be particularly helpful as property-based tests are silently auto-enabled by default if librapidcheck is found. Sample build output: ``` Options used to compile and link: with wallet = yes with gui / qt = yes with bip70 = yes with qr = yes with zmq = yes with test = yes with prop = yes <--- new with fuzz = no with bench = no ``` ACKs for top commit: fanquake: ACK a6c1fc3 - Thanks. Tested `./configure` with and without rapidcheck available. Tree-SHA512: 460f3b83ee2a03e6dcc53bc326ac210d2484895e11766be117920fbc6fa78cdbcd4267cbceda9447c2f5fa5a7f218865ccc929ac6319308e397c0a5603571ecd
2 parents 7a960ba + a6c1fc3 commit 1124be6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

configure.ac

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ AC_ARG_ENABLE(gui-tests,
133133

134134
AC_ARG_WITH([rapidcheck],
135135
[AS_HELP_STRING([--with-rapidcheck],
136-
[enable RapidCheck property based tests (default is yes if librapidcheck is found)])],
136+
[enable RapidCheck property-based tests (default is yes if librapidcheck is found)])],
137137
[use_rapidcheck=$withval],
138138
[use_rapidcheck=auto])
139139

@@ -1275,7 +1275,7 @@ AC_CHECK_DECLS([EVP_MD_CTX_new],,,[AC_INCLUDES_DEFAULT
12751275
])
12761276
CXXFLAGS="${save_CXXFLAGS}"
12771277

1278-
dnl RapidCheck Property Based Testing
1278+
dnl RapidCheck property-based testing
12791279

12801280
enable_property_tests=no
12811281
if test "x$use_rapidcheck" = xauto; then
@@ -1657,6 +1657,7 @@ fi
16571657
echo " with zmq = $use_zmq"
16581658
echo " with test = $use_tests"
16591659
if test x$use_tests != xno; then
1660+
echo " with prop = $enable_property_tests"
16601661
echo " with fuzz = $enable_fuzz"
16611662
fi
16621663
echo " with bench = $use_bench"

0 commit comments

Comments
 (0)