MarcoFalke
commented at 3:12 PM on September 12, 2018:
member
It is not possible to run the full test suite when configured with --enable-lcov, since logging is disabled currently so that "unnecessary branches are not analyzed". (See c8914b9dbbf6106dac3c62769f7ce3bacd8fbf9b)
Fix this instead by replacing the macros with functions.
logging: Replace LogPrint macros with regular functionsfae3fbd61a
MarcoFalke force-pushed on Sep 12, 2018
MarcoFalke added the label Tests on Sep 12, 2018
MarcoFalke added the label Refactoring on Sep 12, 2018
MarcoFalke
commented at 3:31 PM on September 12, 2018:
member
This should only affect test builds, so tagged with refactoring.
scravy approved
scravy
commented at 3:40 PM on September 12, 2018:
contributor
utACKfae3fbd61a89c7a35bc0eda91b1df61371dc0936
MarcoFalke
commented at 3:56 PM on September 12, 2018:
member
master:
this patch:
Ruteri approved
Ruteri
commented at 4:03 PM on September 12, 2018:
none
Since this works mostly with strings and builtins it could benefit from perfect forwarding. I took a look a the tinyformat and it looks doable in something like 2 hours (we would need to fork it).
Gnappuraz approved
DrahtBot
commented at 4:32 PM on September 12, 2018:
member
<!--e57a25ab6845829454e8d69fc972939a-->Note to reviewers: This pull request conflicts with the following ones:
#13200 (Process logs in a separate thread by jamesob)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
ryanofsky approved
ryanofsky
commented at 7:21 PM on September 12, 2018:
member
utACKfae3fbd61a89c7a35bc0eda91b1df61371dc0936
practicalswift
commented at 8:52 PM on September 12, 2018:
contributor
utACKfae3fbd61a89c7a35bc0eda91b1df61371dc0936
Very nice!
laanwj
commented at 7:44 AM on September 13, 2018:
member
nice, replacing macros with functions is unambiguously good
utACKfae3fbd61a89c7a35bc0eda91b1df61371dc0936
I took a look a the tinyformat and it looks doable in something like 2 hours (we would need to fork it).
This has been tried before, I don't think it was as easy as suggested. But you're welcome to try!—please do file changes to tinyformat upstream at https://github.com/c42f/tinyformat
laanwj merged this on Sep 13, 2018
laanwj closed this on Sep 13, 2018
laanwj referenced this in commit 1bfcc0696c on Sep 13, 2018
MarcoFalke deleted the branch on Sep 13, 2018
scravy referenced this in commit 5dd17be721 on Apr 3, 2019
jkczyz referenced this in commit 93e8f7a833 on Oct 22, 2019
jkczyz referenced this in commit 8734c856f8 on Oct 22, 2019
MarcoFalke referenced this in commit 90a2341713 on Nov 1, 2019
sidhujag referenced this in commit 30e410619b on Nov 1, 2019
sidhujag referenced this in commit 98e750b015 on Nov 10, 2020
kittywhiskers referenced this in commit a017f92fe1 on Jun 16, 2021
kittywhiskers referenced this in commit 94e3a5de64 on Jun 24, 2021
PastaPastaPasta referenced this in commit e8875967b5 on Jun 25, 2021
PastaPastaPasta referenced this in commit d15f179eeb on Sep 11, 2021
PastaPastaPasta referenced this in commit 940ae481be on Sep 11, 2021
random-zebra referenced this in commit 1286d3eec0 on Sep 12, 2021
PastaPastaPasta referenced this in commit 4055086f17 on Sep 12, 2021
PastaPastaPasta referenced this in commit 0aff2b2c01 on Sep 12, 2021
PastaPastaPasta referenced this in commit c511977b12 on Sep 12, 2021
PastaPastaPasta referenced this in commit 8d3bee5e71 on Sep 14, 2021
PastaPastaPasta referenced this in commit eb9c94185b on Sep 14, 2021
PastaPastaPasta referenced this in commit 06583cc33b on Sep 15, 2021
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-05-01 00:15 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me