aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2017-01-07Revert "uses: properly handle untapped formulae in recursive dependency ↵Mike McQuaid
expansion"
2017-01-05dependency: TapDependency#tap returns a TapAlyssa Ross
Previously, this returned a String, but a Tap instance seems much more sensible. I couldn't find anywhere this method was actually used, so the change shouldn't break anything.
2017-01-04tab: set homebrew_version in Tab.emptyAlyssa Ross
2017-01-04tests: remove temp tab homebrew_version overrideAlyssa Ross
This had to be added in #1750 to work around special-casing for tabs generated with Homebrew versions < 1.1.6. Now that 1.1.6 is the current version, we can remove this hack.
2017-01-03Deprecate Homebrew/versions, Homebrew/devel-only.Mike McQuaid
Don't use Homebrew/versions in a test and remove them both from the OFFICIAL_TAPS list (i.e. `brew search`).
2017-01-01tests: optlink fake kegs in uninstall testAlyssa Ross
2017-01-01keg: check installed dependencies iff optlinkedAlyssa Ross
2017-01-01keg: keg_only kegs can have installed dependentsAlyssa Ross
2017-01-01keg: update installed dependency resolutionAlyssa Ross
Closes #1525. (See there for a motivation for this change.)
2016-12-31keg: test dep fallback with unknown formulaeAlyssa Ross
2016-12-31keg: handle dependencies of moved/renamed formulaeAlyssa Ross
In #1497 I switched from Keg#to_formula for comparing kegs to formulae to comparing the name and tap in the keg's tab to the name and tap of the formula. However, this fails to match if the name and tap of the formula have changed since the keg was installed, so it's clearly better to use Keg#to_formula where possible, and fall back to the information in the tab when #to_formula can't be used.
2016-12-31Merge pull request #1750 from alyssais/fallback_dependenciesMike McQuaid
keg: fall back for dependencies of buggy tabs
2016-12-31Merge pull request #1756 from alyssais/nil_dependentsMike McQuaid
keg: don't return nil dependencies
2016-12-31Merge pull request #1752 from alyssais/uninstalling_dependenciesMike McQuaid
keg: fix fallback dependencies with multiple kegs
2016-12-31keg: don't return nil dependenciesAlyssa Ross
This is a proper fix to the problem addressed by #1510. The problem arises when f_kegs is nil, which can happen if the name and tap used to install a keg don't match the name and tap currently associated with its formula (i.e. if it's been renamed or moved).
2016-12-30Merge pull request #1701 from MikeMcQuaid/deprecate-std-superenv-stuffMike McQuaid
ENV: deprecate old methods.
2016-12-30tab: remove #reliable_runtime_dependencies?Alyssa Ross
See https://github.com/Homebrew/brew/pull/1750#discussion_r94243825 for discussion. Removes Tab#reliable_runtime_dependencies? in favour of returning nil from Tab#runtime_dependencies if the list is unreliable. Because Homebrew 1.1.6 hasn't been tagged yet, tabs created in tests aren't created with a homebrew_version that marks the runtime_dependencies in the Tab as reliable, so there are some tests that fail. To work around this, I've had to add a line to some tests that explicitly overrides the homebrew_version in the Tab. This is really ugly though, so they should be removed as soon as possible after 1.1.6 is released.
2016-12-30ENV: deprecate old methods.Mike McQuaid
These should have been deprecated long ago but we didn’t really have the necessary framework to do so.
2016-12-30keg: fix fallback dependencies with multiple kegsAlyssa Ross
Fixes #1524.
2016-12-30tests: explain Homebrew version checking in tabsAlyssa Ross
2016-12-30tab: remove #homebrew_tagAlyssa Ross
This method isn't used any more
2016-12-30tab: parse full Homebrew version stringAlyssa Ross
It didn't occur to me that this would work, but it does! Magic.
2016-12-30keg: fall back for dependencies of buggy tabsAlyssa Ross
Fixes #1554.
2016-12-30tab: implement #reliable_runtime_dependencies?Alyssa Ross
2016-12-30tests: include homebrew version in receipt fixtureAlyssa Ross
2016-12-30Add option to disable methods on specific date.Markus Reiter
2016-12-29Merge pull request #1694 from rwhogg/add-kabylakeMike McQuaid
Add Kaby Lake to Linux hardware list
2016-12-29Merge pull request #1723 from alyssais/runtime_dependenciesMike McQuaid
formula: don't expand unused optional dependencies
2016-12-29Merge pull request #1737 from alyssais/tap_dependentsMike McQuaid
keg: installed dependencies of unknown formulae
2016-12-27keg: fix dependents with unavailable formulaeAlyssa Ross
Because of an accidental use of `=` instead of `==`, the source formula check would be skipped when determining if a keg depended on another one (so only the versions would be compared). Fixed that comparison, and updated the corresponding test. Glad I caught that!
2016-12-27keg: installed dependencies of unknown formulaeAlyssa Ross
Previously, trying to resolve the dependencies of a keg would raise an exception if the formulae for any of the dependencies could not be found (e.g. if it had been moved to another tap). This commit updates the dependency finding logic to catch these exceptions, and fall back to comparing names and taps of formulae, which should give the correct behaviour. Fixes #1586.
2016-12-27tests: don't run LinkTests twiceAlyssa Ross
see #1526
2016-12-23formula: don't expand unused optional dependenciesAlyssa Ross
This properly addresses Homebrew/homebrew-core#7826.
2016-12-23Revert "Revert "formula: runtime deps of build deps aren't runtime""Alyssa Ross
This reverts commit 862c3ba4a2fb76140e46fdf49a1ea6857f140a29.
2016-12-18Add Kaby Lake to Linux hardware listBob W. Hogg
Note that no Mac hardware using a Kaby Lake processor has been released yet, so do not add it to the equivalent list for macOS.
2016-12-18Updated homepage 404 check to use explicit parameters and return the status codeDavid Broder-Rodgers
2016-12-13fix typoJoshua Morten
2016-12-13Revert "formula: runtime deps of build deps aren't runtime"ilovezfs
2016-12-12Merge pull request #1592 from alyssais/runtime_dependenciesMike McQuaid
formula: runtime deps of build deps aren't runtime
2016-12-11Merge pull request #1343 from vladshablinsky/explicit-specsUladzislau Shablinski
Allow to install any spec
2016-12-10reinstall/upgrade/install: always output options.Mike McQuaid
This is both easier for debugging and to communicate with users what is being done.
2016-12-03Merge pull request #1611 from MikeMcQuaid/bash-test-raceMike McQuaid
bash_test: handle race condition.
2016-12-03bash_test: handle race condition.Mike McQuaid
Other tests may delete Bash files (e.g. `shcmd.sh`) while tests are ongoing so ensure this doesn't cause a test failure.
2016-12-03install_test: add HEAD testsUladzislau Shablinski
2016-12-03fs_leak_logger: use more permissive mkpath.Mike McQuaid
This avoids a race condition occurring here.
2016-12-02uninstall_test: require testing_envBob W. Hogg
2016-12-03Update tests for new install behaviourUladzislau Shablinski
2016-11-29formula: runtime deps of build deps aren't runtimeAlyssa Ross
Fixes #1554 (but only for new installations)
2016-11-26Merge pull request #1580 from MikeMcQuaid/fix-uses-testMike McQuaid
uses_test: don't rely on output order.
2016-11-26diagnostic: silence a Jenkins doctor warning.Mike McQuaid
Allow our Jenkins CI testing for Homebrew/brew to live outside of `/usr/local` without complaint (as it's not using any binary packages anyway).