Alyssa Ross
bdbc19c614
tab: implement #reliable_runtime_dependencies?
2016-12-30 16:16:28 +00:00
Alyssa Ross
a69997cab0
tests: include homebrew version in receipt fixture
2016-12-30 16:15:04 +00:00
Markus Reiter
0f8cb4ba27
Add option to disable methods on specific date.
2016-12-30 14:01:43 +01:00
Mike McQuaid
758de6b454
Merge pull request #1694 from rwhogg/add-kabylake
...
Add Kaby Lake to Linux hardware list
2016-12-29 14:32:12 +00:00
Mike McQuaid
7148370ad8
Merge pull request #1723 from alyssais/runtime_dependencies
...
formula: don't expand unused optional dependencies
2016-12-29 14:31:41 +00:00
Mike McQuaid
577bf628e8
Merge pull request #1737 from alyssais/tap_dependents
...
keg: installed dependencies of unknown formulae
2016-12-29 14:28:59 +00:00
Alyssa Ross
3a27d81219
keg: fix dependents with unavailable formulae
...
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-27 22:58:44 +00:00
Alyssa Ross
e5d7e13c63
keg: installed dependencies of unknown formulae
...
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-27 18:03:05 +00:00
Alyssa Ross
0a20edf945
tests: don't run LinkTests twice
...
see #1526
2016-12-27 17:34:46 +00:00
Alyssa Ross
43f2e9e7bb
formula: don't expand unused optional dependencies
...
This properly addresses Homebrew/homebrew-core#7826 .
2016-12-23 21:31:10 +00:00
Alyssa Ross
3f724825d3
Revert "Revert "formula: runtime deps of build deps aren't runtime""
...
This reverts commit 862c3ba4a2fb76140e46fdf49a1ea6857f140a29.
2016-12-23 15:01:02 +00:00
Bob W. Hogg
ebb659af7d
Add Kaby Lake to Linux hardware list
...
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-18 14:50:38 -08:00
David Broder-Rodgers
0a007fc983
Updated homepage 404 check to use explicit parameters and return the status code
2016-12-18 22:37:26 +00:00
Joshua Morten
6eb7aa6d4d
fix typo
2016-12-13 15:40:31 -08:00
ilovezfs
862c3ba4a2
Revert "formula: runtime deps of build deps aren't runtime"
2016-12-13 11:15:00 -08:00
Mike McQuaid
666463ca2b
Merge pull request #1592 from alyssais/runtime_dependencies
...
formula: runtime deps of build deps aren't runtime
2016-12-12 13:28:56 +00:00
Uladzislau Shablinski
45ef7ea0b0
Merge pull request #1343 from vladshablinsky/explicit-specs
...
Allow to install any spec
2016-12-11 14:26:46 +03:00
Mike McQuaid
e347f7ade3
reinstall/upgrade/install: always output options.
...
This is both easier for debugging and to communicate with users what is
being done.
2016-12-10 13:07:03 +00:00
Mike McQuaid
52691cd0de
Merge pull request #1611 from MikeMcQuaid/bash-test-race
...
bash_test: handle race condition.
2016-12-03 16:36:37 +00:00
Mike McQuaid
3f6d31dee1
bash_test: handle race condition.
...
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-03 15:59:05 +00:00
Uladzislau Shablinski
a24a919a40
install_test: add HEAD tests
2016-12-03 18:52:08 +03:00
Mike McQuaid
c560c47202
fs_leak_logger: use more permissive mkpath.
...
This avoids a race condition occurring here.
2016-12-03 15:04:02 +00:00
Bob W. Hogg
f7e5a85c2b
uninstall_test: require testing_env
2016-12-02 19:41:38 -08:00
Uladzislau Shablinski
6ef96d0be4
Update tests for new install behaviour
2016-12-03 04:42:04 +03:00
Alyssa Ross
2b68da8252
formula: runtime deps of build deps aren't runtime
...
Fixes #1554 (but only for new installations)
2016-11-29 01:39:02 +00:00
Mike McQuaid
3e3df9568e
Merge pull request #1580 from MikeMcQuaid/fix-uses-test
...
uses_test: don't rely on output order.
2016-11-26 18:16:40 +00:00
Mike McQuaid
e330047ff9
diagnostic: silence a Jenkins doctor warning.
...
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-26 16:32:48 +00:00
Mike McQuaid
b851935484
uses_test: don't rely on output order.
...
I've seen this vary.
2016-11-26 16:21:27 +00:00
Mike McQuaid
c3f959d6af
Merge pull request #1542 from woodruffw/deprecate-utils-json
...
compat: deprecate Utils::JSON in favor of corelib JSON.
2016-11-21 18:45:20 +00:00
William Woodruff
d07b9ed7f2
Replace Utils::JSON with corelib JSON calls.
2016-11-20 20:06:25 -05:00
Mike McQuaid
a16bfa57e8
Merge pull request #1537 from umireon/nonfatal-requirement-message-once
...
install: suppress redundunt warnings with `depends_on` requirement
2016-11-20 11:59:57 +00:00
Mike McQuaid
7853406fb4
Merge pull request #1515 from alyssais/formula_cache
...
Fix flaky tests.
2016-11-18 15:37:49 +00:00
Mike McQuaid
e8d5040141
testbottest: don't use TEST_FIXTURE_DIR.
...
This isn't defined for formulae.
2016-11-18 14:08:40 +00:00
Kaito Udagawa
e9815bf2bd
install: add tests with custom requirements
2016-11-18 20:47:46 +09:00
Zhiming Wang
00532a3e3a
formula: update test_fixtures path
...
Fix regression caused by #1364 .
2016-11-17 15:54:51 -05:00
Alyssa Ross
5baf16f50e
Revert "uninstall: skip some flaky tests for now."
...
This reverts commit 50c964df2ebda125366a94f0e8701eaeb0d98fa7.
2016-11-17 14:26:00 +00:00
Alyssa Ross
8bfc205a87
tab: clear Formula.installed cache when created.
...
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-17 14:26:00 +00:00
Markus Reiter
7457af2b23
Move test files back directly to test/
.
2016-11-16 23:52:38 +01:00
Markus Reiter
9dc1f8f3cd
Require integration_command_test_case
in testing_env
.
2016-11-16 23:52:38 +01:00
Markus Reiter
9d82acbf30
Separate Homebrew::TestCase
from testing_env
.
2016-11-16 23:52:38 +01:00
Markus Reiter
7b9fd538fa
Move integration_mocks
to test/support/helper
.
2016-11-16 23:52:38 +01:00
Markus Reiter
4db1317f38
Move all remaining fixtures to test/support/fixtures
.
2016-11-16 23:52:38 +01:00
Markus Reiter
4efdbbde06
Rename fs_leak_log
to fs_leak.log
and move to tmp
.
2016-11-16 23:52:37 +01:00
Markus Reiter
6b6b27126d
Reorder and rename test files.
2016-11-16 23:52:37 +01:00
Mike McQuaid
50c964df2e
uninstall: skip some flaky tests for now.
...
These will be fixed properly later but this will avoid causing
unnecessary CI failures.
2016-11-15 14:32:13 +00:00
Mike McQuaid
484e3e0769
Merge pull request #1498 from alyssais/uninstall_developer_warning
...
Warn developers when uninstalling a dependency
2016-11-15 08:15:42 +00:00
Misty De Meo
30fdbe089b
Merge pull request #1435 from mistydemeo/dev_tools_version
...
Add "null version" class, and return compiler versions/build versions as Version objects
2016-11-14 13:44:03 -08:00
Markus Reiter
3a01fbadcd
Merge pull request #1362 from reitermarkus/rubocop
...
Update RuboCop to 0.45.0.
2016-11-14 16:50:24 +01:00
Alyssa Ross
3c310b2e3d
Warn developers when uninstalling a dependency
...
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-14 12:13:34 +00:00
Mike McQuaid
5a5cbe41bd
Merge pull request #1497 from alyssais/uninstall_keg_to_formula
...
keg: don't rely on #to_formula
2016-11-14 08:02:51 +00:00