Protects against added circular depencies, makes it explicit in the code when circular dependencies have been removed.
Modeled after EXPECTED_BOOST_INCLUDES in lint-includes.sh
Example output:
0$ test/lint/lint-circular-dependencies.sh
1A new circular dependency in the form of "qt/paymentserver -> qt/walletmodel -> qt/paymentserver" appears to have been introduced.
2
3$ echo $?
41
5$ test/lint/lint-circular-dependencies.sh
6Good job! The circular dependency "Fake" is no longer present.
7Please remove it from EXPECTED_CIRCULAR_DEPENDENCIES in test/lint/lint-circular-dependencies.sh
8to make sure this circular dependency is not accidentally reintroduced.
9
10$ echo $?
111
12$ test/lint/lint-circular-dependencies.sh
13$ echo $?
140