Changeset View
Changeset View
Standalone View
Standalone View
test/lint/lint-circular-dependencies.sh
Show All 28 Lines | EXPECTED_CIRCULAR_DEPENDENCIES=( | ||||
"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" | ||||
"wallet/scriptpubkeyman -> wallet/wallet -> wallet/scriptpubkeyman" | "wallet/scriptpubkeyman -> wallet/wallet -> wallet/scriptpubkeyman" | ||||
"checkpoints -> validation -> checkpoints" | "checkpoints -> validation -> checkpoints" | ||||
"pow/aserti32d -> validation -> pow/aserti32d" | |||||
"pow/aserti32d -> validation -> pow/pow -> pow/aserti32d" | |||||
) | ) | ||||
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 |