Changeset View
Changeset View
Standalone View
Standalone View
test/lint/lint-circular-dependencies.sh
#!/usr/bin/env bash | #!/usr/bin/env bash | ||||
# | # | ||||
# Copyright (c) 2018 The Bitcoin Core developers | # Copyright (c) 2018 The Bitcoin Core developers | ||||
# Distributed under the MIT software license, see the accompanying | # Distributed under the MIT software license, see the accompanying | ||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
# | # | ||||
# Check for circular dependencies | # Check for circular dependencies | ||||
export LC_ALL=C | export LC_ALL=C | ||||
EXPECTED_CIRCULAR_DEPENDENCIES=( | EXPECTED_CIRCULAR_DEPENDENCIES=( | ||||
"index/txindex -> validation -> index/txindex" | "index/txindex -> validation -> index/txindex" | ||||
"policy/policy -> validation -> policy/policy" | "policy/policy -> validation -> policy/policy" | ||||
"policy/policy -> policy/settings -> policy/policy" | |||||
"qt/addresstablemodel -> qt/walletmodel -> qt/addresstablemodel" | "qt/addresstablemodel -> qt/walletmodel -> qt/addresstablemodel" | ||||
"qt/bantablemodel -> qt/clientmodel -> qt/bantablemodel" | "qt/bantablemodel -> qt/clientmodel -> qt/bantablemodel" | ||||
"qt/bitcoingui -> qt/utilitydialog -> qt/bitcoingui" | "qt/bitcoingui -> qt/utilitydialog -> qt/bitcoingui" | ||||
"qt/bitcoingui -> qt/walletframe -> qt/bitcoingui" | "qt/bitcoingui -> qt/walletframe -> qt/bitcoingui" | ||||
"qt/bitcoingui -> qt/walletview -> qt/bitcoingui" | "qt/bitcoingui -> qt/walletview -> qt/bitcoingui" | ||||
"qt/clientmodel -> qt/peertablemodel -> qt/clientmodel" | "qt/clientmodel -> qt/peertablemodel -> qt/clientmodel" | ||||
"qt/paymentserver -> qt/walletmodel -> qt/paymentserver" | "qt/paymentserver -> qt/walletmodel -> qt/paymentserver" | ||||
"qt/recentrequeststablemodel -> qt/walletmodel -> qt/recentrequeststablemodel" | "qt/recentrequeststablemodel -> qt/walletmodel -> qt/recentrequeststablemodel" | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |