aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
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).
2016-11-26uses_test: don't rely on output order.Mike McQuaid
I've seen this vary.
2016-11-21Merge pull request #1542 from woodruffw/deprecate-utils-jsonMike McQuaid
compat: deprecate Utils::JSON in favor of corelib JSON.
2016-11-20Replace Utils::JSON with corelib JSON calls.William Woodruff
2016-11-20Merge pull request #1537 from umireon/nonfatal-requirement-message-onceMike McQuaid
install: suppress redundunt warnings with `depends_on` requirement
2016-11-18Merge pull request #1515 from alyssais/formula_cacheMike McQuaid
Fix flaky tests.
2016-11-18testbottest: don't use TEST_FIXTURE_DIR.Mike McQuaid
This isn't defined for formulae.
2016-11-18install: add tests with custom requirementsKaito Udagawa
2016-11-17formula: update test_fixtures pathZhiming Wang
Fix regression caused by #1364.
2016-11-17Revert "uninstall: skip some flaky tests for now."Alyssa Ross
This reverts commit 50c964df2ebda125366a94f0e8701eaeb0d98fa7.
2016-11-17tab: clear Formula.installed cache when created.Alyssa Ross
This was causing the flaky tests that #1508 started skipping. This is the second time that `Formula.installed`'s cache has bitten me with intermittent test failures, and I'd like it to be the last, so I've made it so the cache is cleared automatically when a tab is created. This _should_ mean that the cache is cleared any time it needs to be, with the exception of when a Keg is created artificially with no tab. I don't think there's anything I can do to automatically handle that use-case, though.
2016-11-16Move test files back directly to `test/`.Markus Reiter
2016-11-16Require `integration_command_test_case` in `testing_env`.Markus Reiter
2016-11-16Separate `Homebrew::TestCase` from `testing_env`.Markus Reiter
2016-11-16Move `integration_mocks` to `test/support/helper`.Markus Reiter
2016-11-16Move all remaining fixtures to `test/support/fixtures`.Markus Reiter
2016-11-16Rename `fs_leak_log` to `fs_leak.log` and move to `tmp`.Markus Reiter
2016-11-16Reorder and rename test files.Markus Reiter
2016-11-15uninstall: skip some flaky tests for now.Mike McQuaid
These will be fixed properly later but this will avoid causing unnecessary CI failures.
2016-11-15Merge pull request #1498 from alyssais/uninstall_developer_warningMike McQuaid
Warn developers when uninstalling a dependency
2016-11-14Merge pull request #1435 from mistydemeo/dev_tools_versionMisty De Meo
Add "null version" class, and return compiler versions/build versions as Version objects
2016-11-14Merge pull request #1362 from reitermarkus/rubocopMarkus Reiter
Update RuboCop to 0.45.0.
2016-11-14Warn developers when uninstalling a dependencyAlyssa Ross
Suggested in #1084. Made the existing warning output entirely to STDERR, because previously the first line went to STDERR and subsequent ones went to STDOUT.
2016-11-14Merge pull request #1497 from alyssais/uninstall_keg_to_formulaMike McQuaid
keg: don't rely on #to_formula
2016-11-13keg: don't rely on #to_formulaAlyssa Ross
It doesn't always work. For example, a keg could have been installed with a formula from a URL, which Homebrew now does not know how to access. Fixes #1496.
2016-11-13No if/unless-modifier on multiline blocks.Markus Reiter
2016-11-13Merge pull request #1217 from MatzFan/invalid_build_option_warningsMike McQuaid
Invalid build option warnings - supersedes #1088
2016-11-12fix testBruce Steedman
2016-11-11formulary: don't warn on old formula name from keg/rack.Mike McQuaid
If there’s an old installation of e.g. `apple-gcc42` from when it was part of `homebrew/core` then the tab will say it was from the `homebrew/core` tap and then we’ll complain at the user (see #1459 for an example). Instead, we only want to complain when the user actually types in `homebrew/core/apple-gcc42` into a `brew` command. Closes #1459.
2016-11-11Merge pull request #1082 from alyssais/uninstall_dependancy_errorMike McQuaid
uninstall: refuse when dependents still installed