mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Merge f66633d9cb into merged_master (Bitcoin PR bitcoin/bitcoin#25288)
This commit is contained in:
commit
57f4c62810
4 changed files with 8 additions and 9 deletions
|
|
@ -22,7 +22,7 @@ test/lint/git-subtree-check.sh src/univalue
|
|||
test/lint/git-subtree-check.sh src/leveldb
|
||||
test/lint/git-subtree-check.sh src/crc32c
|
||||
test/lint/check-doc.py
|
||||
test/lint/lint-all.py
|
||||
test/lint/all-lint.py
|
||||
|
||||
if [ "$CIRRUS_REPO_FULL_NAME" = "bitcoin/bitcoin" ] && [ "$CIRRUS_PR" = "" ] ; then
|
||||
# Sanity check only the last few commits to get notified of missing sigs,
|
||||
|
|
|
|||
|
|
@ -327,7 +327,7 @@ test/lint/lint-files.py
|
|||
You can run all the shell-based lint tests by running:
|
||||
|
||||
```
|
||||
test/lint/lint-all.py
|
||||
test/lint/all-lint.py
|
||||
```
|
||||
|
||||
# Writing functional tests
|
||||
|
|
|
|||
|
|
@ -39,6 +39,6 @@ To do so, add the upstream repository as remote:
|
|||
git remote add --fetch secp256k1 https://github.com/bitcoin-core/secp256k1.git
|
||||
```
|
||||
|
||||
lint-all.py
|
||||
all-lint.py
|
||||
===========
|
||||
Calls other scripts with the `lint-` prefix.
|
||||
|
|
|
|||
|
|
@ -13,11 +13,10 @@ from subprocess import run
|
|||
|
||||
exit_code = 0
|
||||
mod_path = Path(__file__).parent
|
||||
for lint in glob(f"{mod_path}/lint-*"):
|
||||
if lint != __file__:
|
||||
result = run([lint])
|
||||
if result.returncode != 0:
|
||||
print(f"^---- failure generated from {lint.split('/')[-1]}")
|
||||
exit_code |= result.returncode
|
||||
for lint in glob(f"{mod_path}/lint-*.py"):
|
||||
result = run([lint])
|
||||
if result.returncode != 0:
|
||||
print(f"^---- failure generated from {lint.split('/')[-1]}")
|
||||
exit_code |= result.returncode
|
||||
|
||||
exit(exit_code)
|
||||
Loading…
Add table
Add a link
Reference in a new issue