Changeset View
Changeset View
Standalone View
Standalone View
test/lint/lint-circular-dependencies.sh
Show All 34 Lines | EXPECTED_CIRCULAR_DEPENDENCIES=( | ||||
"qt/addressbookpage -> qt/bitcoingui -> qt/walletview -> qt/sendcoinsdialog -> qt/sendcoinsentry -> qt/addressbookpage" | "qt/addressbookpage -> qt/bitcoingui -> qt/walletview -> qt/sendcoinsdialog -> qt/sendcoinsentry -> qt/addressbookpage" | ||||
"avalanche -> validation -> avalanche" | "avalanche -> validation -> avalanche" | ||||
"chainparams -> protocol -> chainparams" | "chainparams -> protocol -> chainparams" | ||||
"chainparamsbase -> util/system -> chainparamsbase" | "chainparamsbase -> util/system -> chainparamsbase" | ||||
"minerfund -> validation -> minerfund" | "minerfund -> validation -> minerfund" | ||||
"script/scriptcache -> validation -> script/scriptcache" | "script/scriptcache -> validation -> script/scriptcache" | ||||
"seeder/bitcoin -> seeder/db -> seeder/bitcoin" | "seeder/bitcoin -> seeder/db -> seeder/bitcoin" | ||||
"chainparams -> protocol -> config -> chainparams" | "chainparams -> protocol -> config -> chainparams" | ||||
"config -> globals -> policy/policy -> validation -> config" | |||||
"core_io -> psbt -> node/transaction -> validation -> core_io" | "core_io -> psbt -> node/transaction -> validation -> core_io" | ||||
"config -> globals -> policy/policy -> validation -> key_io -> config" | |||||
"config -> globals -> policy/policy -> validation -> protocol -> config" | |||||
) | ) | ||||
EXIT_CODE=0 | EXIT_CODE=0 | ||||
CIRCULAR_DEPENDENCIES=() | CIRCULAR_DEPENDENCIES=() | ||||
IFS=$'\n' | IFS=$'\n' | ||||
for CIRC in $(cd src && ../contrib/devtools/circular-dependencies.py {*,*/*,*/*/*}.{h,cpp} | sed -e 's/^Circular dependency: //'); do | for CIRC in $(cd src && ../contrib/devtools/circular-dependencies.py {*,*/*,*/*/*}.{h,cpp} | sed -e 's/^Circular dependency: //'); do | ||||
Show All 33 Lines |