Mike McQuaid
ee253e465b
Vendor all Homebrew's gems.
...
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
2017-05-07 13:52:57 +01:00
Mike McQuaid
a6df701fad
tests: reduce some noise.
...
- Tweak the way offline skipping happens
- Skip more tests that break when offline
- Hide more stdout output from tests.
2017-04-22 12:49:14 +01:00
Bob W. Hogg
7b6abc7630
Only run Linux-specific tests on Linux
2017-04-15 21:20:09 -07:00
Mike McQuaid
566d3cb58b
Document all short flags.
2017-04-02 10:14:58 +01:00
Maxim Belkin
8fa99fb879
tests: unset HOMEBREW_TEMP
...
Setting `HOMEBREW_TEMP` env. var [currently] breaks tests (`brew
tests`). Although this behavior looks like a bug, the solution is
straightforward: unset `HOMEBREW_TEMP`.
2017-03-21 09:31:09 -05:00
EricFromCanada
aee23ccb03
Add more flags and descriptions to man pages.
2017-03-05 21:45:15 -05:00
Markus Reiter
18d4220cbf
Remove BUNDLE_PATH
from brew tests
.
2017-03-05 23:33:36 +01:00
Markus Reiter
487294f815
Remove Minitest.
2017-02-28 22:48:57 +01:00
Misty De Meo
f332bf4a76
brew tests: filter out vendor/bundle
2017-02-28 22:42:41 +11:00
EricFromCanada
afc539f86e
Update brew's man page formatting and grammar
...
Also update command specifications to match descriptions.
2017-02-25 17:37:57 -05:00
Markus Reiter
3f8e52e574
Merge pull request #2091 from reitermarkus/spec-exclude-needs_macos
...
Exclude specs with `:needs_macos` tag when not on macOS.
2017-02-23 09:34:17 +01:00
Markus Reiter
48a211fc90
Convert os/mac/language
test to spec.
2017-02-23 02:47:33 +01:00
Markus Reiter
168a96d919
Exclude specs with :needs_macos
tag when not on macOS.
2017-02-21 21:55:16 +01:00
Markus Reiter
c4ac308302
Allow brew tests
to run specs.
2017-02-11 15:59:54 +01:00
Fabian Mettler
ba2ec8abcc
Fix: Documentation of --only in tests cmd
...
This pull request fixes the documentation for the —only flag of the
tests cmd.
2017-02-06 14:22:17 +01:00
Alyssa Ross
19e61355b3
tests: remove with_git_env method
...
A common git environment is now used in all tests, so this is no longer
required.
2017-01-22 20:54:37 +00:00
Josh Hagins
0a7307de64
tests: ignore test files in test/vendor/bundle
2016-11-17 19:21:05 -05:00
Markus Reiter
7457af2b23
Move test files back directly to test/
.
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
Markus Reiter
f863d61374
Move vendor/bundle
up one level to HOMEBREW_LIBRARY_PATH
.
2016-10-29 18:28:07 +02:00
Markus Reiter
cafe149780
Merge pull request #1145 from reitermarkus/module-function
...
Use `module_function` for `Homebrew` module.
2016-10-04 10:31:49 +02:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Bruce Steedman
15462cc817
delete verbose env vars in brew tests
2016-10-01 09:49:06 +01:00
Alyssa Ross
869fb02149
tests, cask-tests: serialize stdout on CI
2016-09-20 15:48:00 +01:00
Alyssa Ross
d3740ec34f
tests: run in parallel
2016-09-19 23:00:58 +01:00
Mike McQuaid
274035381d
tests: always set HOMEBREW_DEVELOPER=1.
...
Unit tests should be run consistently no matter who is running them and
we can stub `ARGV.homebrew_developer?` if we need to change them.
2016-09-10 09:50:40 +01:00
Mike McQuaid
86bfd36af2
Don't hide some (now) developer commands.
2016-09-08 20:46:37 +01:00
Mike McQuaid
af8605ea4b
Move developer-focused commands to dev-cmd.
2016-09-08 20:46:37 +01:00