aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_dependency_expansion.rb
AgeCommit message (Collapse)Author
2014-11-21Fix dependency equalityJack Nagel
2014-06-18Use a custom test class so we can avoid monkeypatchingJack Nagel
2014-02-27Eliminate mutation of Dependency objectsJack Nagel
2014-02-27Apply cyclic dependency hack unconditionallyJack Nagel
2013-12-09Pass deps collection to be expanded as a parameterJack Nagel
2013-11-13Prevent deps of build-time deps from leaking into the build environmentJack Nagel
When decided what dependencies should be part of the build environment (and have appropriate entries added to variables like PKG_CONFIG_PATH), we select the entire dependency tree except for (1) inactive optional and recommended deps (2) indirect build-time deps (i.e., build-time deps of other deps) There is a third category that sould be excluded: dependencies of direct build-time deps. These are irrelevant to the build, and including them can cause unexpected linkages.
2013-07-22Check deps of satisfied depsJack Nagel
2013-06-25Uniqify tags when merging dependenciesJack Nagel
2013-06-24Actually make the assertion we care aboutJack Nagel
2013-06-24Copy env_proc when merging depsJack Nagel
2013-06-08Merge repeated deps with differing optionsJack Nagel
When expanding dependencies, repeated deps are treated as equal and all but the first are discarded when #uniq is called on the resulting array. However, they may have different sets of options attached, so we cannot assume they are the same. After the initial expansion, we group them by name and then create a new Dependency object for each name, merging the options from each group. Fixes #20335.
2013-06-07test_dependency_expansion: dep names should always be stringsJack Nagel
2013-05-10Refactor Dependency.expandJack Nagel