Skip to content
Snippets Groups Projects
Unverified Commit 731c723c authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #7603 from MikeMcQuaid/include_test_fixes

formula_installer: fix test dependencies.
parents e254e804 2fc64342
No related branches found
No related tags found
No related merge requests found
......@@ -488,9 +488,9 @@ class FormulaInstaller
if dep.prune_from_option?(build)
Dependency.prune
elsif include_test? && dep.test? && !dep.installed?
Dependency.keep_but_prune_recursive_deps
elsif dep.build? && install_bottle_for?(dependent, build)
elsif dep.test? && !dep.build? && !include_test?
Dependency.prune
elsif dep.build? && !dep.test? && install_bottle_for?(dependent, build)
Dependency.prune
elsif dep.prune_if_build_and_not_dependent?(dependent)
Dependency.prune
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment