HomePhabricator

[CI] Make the bench use the ENABLE_JUNIT_REPORT option and use it on CI

Description

[CI] Make the bench use the ENABLE_JUNIT_REPORT option and use it on CI

Summary:
This adds the required arguments at build system level to generate the
junit report from the benchmark, and simplify the CI script by using
this feature.

Depends on D7064.

Test Plan:

ninja bitcoin-bench

Check the bench runs as usual, and prints human readable result.

cmake -GNinja -DENABLE_JUNIT_REPORT=ON
ninja bitcoin-bench

Check the bench reports to a junit file in test/junit

./contrib/teamcity/build-configurations.py build-bench

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
FabienAuthored on Aug 3 2020, 09:46
abc-botPushed on Aug 3 2020, 09:51
Reviewer
Restricted Project
Differential Revision
D7070: [CI] Make the bench use the ENABLE_JUNIT_REPORT option and use it on CI
Parents
rABCea1ca12b52ca: [backport#16394] Allow createwallet to take empty passwords to make unencrypted…
Branches
Unknown
Tags
Unknown