Page MenuHomePhabricator

[CI] Improve performance when running the tests
ClosedPublic

Authored by Fabien on Fri, Mar 29, 07:54.

Details

Summary

This diff removes the explicit call to bitcoin-util-test.py which is
already run by make check.
It also adds the -j option to make check. Tested on my machine this
resulted in a ~25% average time improvement.

Test Plan
./build.sh # builds and runs tests

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Fri, Mar 29, 07:54
Herald added a reviewer: Restricted Project. · View Herald TranscriptFri, Mar 29, 07:54
Herald added a subscriber: schancel. · View Herald Transcript
jasonbcox accepted this revision.Fri, Mar 29, 16:20
jasonbcox added a subscriber: jasonbcox.

Also consider making a similar change for build-secp2561k1.sh, though the impact will be much less noticeable I think.

This revision is now accepted and ready to land.Fri, Mar 29, 16:20
This revision was automatically updated to reflect the committed changes.