aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlaanwj <126646+laanwj@users.noreply.github.com>2022-06-07 21:17:06 +0200
committerlaanwj <126646+laanwj@users.noreply.github.com>2022-06-07 21:17:45 +0200
commit9dae9f5f1e2bf29f58d3f49b0c612063d883b8b3 (patch)
treeedbfa65edf1ece93df349ad9196dd948f672ea35 /test
parent79cabe3a5b03e84ae5cb78046538777fd848267b (diff)
parent433b52569417674f84c2b1d449037701814420c4 (diff)
downloadbitcoin-9dae9f5f1e2bf29f58d3f49b0c612063d883b8b3.tar.xz
Merge bitcoin/bitcoin#25292: Add LogPrintLevel to lint-format-strings, drop LogPrint-vs-LogPrintf section in dev notes
433b52569417674f84c2b1d449037701814420c4 Add LogPrintLevel to lint-format-strings, drop LogPrint-vs-LogPrintf section in dev notes (Jon Atack) Pull request description: added by #7003 in 2015, as that potential issue would now be caught by the `test/lint/lint-format-strings.py` script run by the CI. ACKs for top commit: MarcoFalke: cr ACK 433b52569417674f84c2b1d449037701814420c4 w0xlt: ACK https://github.com/bitcoin/bitcoin/pull/25292/commits/433b52569417674f84c2b1d449037701814420c4 Tree-SHA512: 91a2ac76689ed4f1f638e07c16d2ec8952fb013cc8bb896780fbd9333abd084281ce99afdc9de715d07a9abb4dce5dd67edf5e347aff466c6ef339ccc4158679
Diffstat (limited to 'test')
-rwxr-xr-xtest/lint/lint-format-strings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lint/lint-format-strings.py b/test/lint/lint-format-strings.py
index 28e7b1e4ff..412cf86791 100755
--- a/test/lint/lint-format-strings.py
+++ b/test/lint/lint-format-strings.py
@@ -22,6 +22,7 @@ FUNCTION_NAMES_AND_NUMBER_OF_LEADING_ARGUMENTS = [
'LogConnectFailure,1',
'LogPrint,1',
'LogPrintf,0',
+ 'LogPrintLevel,2',
'printf,0',
'snprintf,2',
'sprintf,1',