Mike McQuaid
696f497e32
test-bot: skip update-test on non-Mac.
2016-07-29 21:21:02 -06:00
Mike McQuaid
c3739dc441
utils/bottles: don't rely on tar wildcards, location.
...
This doesn’t work quite as-is on Linux’s GNU tar.
2016-07-29 21:21:02 -06:00
Mike McQuaid
fa6377dc12
test_language_module_requirement: check for python.
2016-07-29 21:21:02 -06:00
Mike McQuaid
70a1ef5bdf
testing_env: add needs_python method.
2016-07-29 21:21:02 -06:00
Mike McQuaid
b43e49a9b8
test_formula: fix sort order bugs.
2016-07-29 21:21:02 -06:00
Mike McQuaid
c90552f66b
tab: use the correct default compiler.
2016-07-29 21:21:02 -06:00
Mike McQuaid
a1a8b3faa7
keg_relocate: don't relocate text files without /usr/bin/file.
2016-07-29 21:21:02 -06:00
Mike McQuaid
ebddd65e8c
development_tools: simplify generic default_compiler logic.
2016-07-29 21:21:02 -06:00
Mike McQuaid
0fd0ecd599
os: don't assume Linux if testing generic OS.
2016-07-29 21:21:02 -06:00
Mike McQuaid
1aded31fec
test_utils: remove unnecessary full paths.
2016-07-29 21:21:02 -06:00
Mike McQuaid
b999edb344
link: don't link /usr/local openssl.
...
See https://langui.sh/2015/07/24/osx-clang-include-lib-search-paths/ for
an explanation and https://gist.github.com/tdsmith/4b502c5cc6e7d358acdf
for reproduction instructions.
2016-07-29 17:00:51 -06:00
Tim D. Smith
209d9e8a6e
Refurbish args in virtualenv ( #600 )
...
Instead of adding additional lines to formula.rb:
https://git.io/vKxxh
just turn on argument refurbishment for any formula that creates a
virtualenv.
cf Homebrew/ruby-macho#50 , Homebrew/homebrew-core#1663
2016-07-29 08:45:26 -07:00
Mike McQuaid
3469f177f0
audit: don't check formula linkage.
...
This partly reverts commit 0ed673abdb59e2f75f9b8539cce318607924e87f.
2016-07-28 16:53:41 -06:00
Martin Afanasjew
12413cb760
tests: fix duplicate test case class name
...
Rename test case class to avoid two definitions of `BlacklistTests`.
2016-07-28 22:09:07 +02:00
Mike McQuaid
97b6a3069e
test: add default Linux x86_64 bottle.
2016-07-27 21:44:35 -06:00
Tim D. Smith
c4deed68bd
Make method names inquisitive
...
Closes #592 .
Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-07-27 17:49:49 -07:00
Tim D. Smith
9c0a2ac933
Don't fail on arbitrary absolute symlinks
...
Still forbid absolute symlinks including prefix
2016-07-27 17:49:49 -07:00
Tim D. Smith
a8cbcfa080
Factor out absolute symlink test
2016-07-27 17:49:49 -07:00
Andrea Kao
7836e0953c
tests: add cmd/switch integration test
2016-07-27 17:24:17 -06:00
Mike McQuaid
3318967609
os: fix Rubocop warnings.
2016-07-27 15:05:42 -06:00
Mike McQuaid
932e145d9c
test-bot: run all tests in generic mode.
2016-07-27 15:05:42 -06:00
Mike McQuaid
536c42f7e6
test_version_subclasses: make OS X specific.
2016-07-27 15:05:42 -06:00
Mike McQuaid
08f68fc4dd
test_x11_requirement: make OS X specific.
2016-07-27 15:05:42 -06:00
Mike McQuaid
ec9751670c
test_mach: make OS X specific.
2016-07-27 15:05:42 -06:00
Mike McQuaid
51dd73dba8
test_keg: port to generic layer.
2016-07-27 15:05:42 -06:00
Mike McQuaid
7f2f602e44
test_formula: port to generic layer.
2016-07-27 15:05:42 -06:00
Mike McQuaid
1f6f832c00
test_dependency_collector: port to generic layer.
2016-07-27 15:05:42 -06:00
Mike McQuaid
541e8f28df
bottles: more porting to generic layer.
2016-07-27 15:05:42 -06:00
Mike McQuaid
892a3239bc
hardware: more porting to generic layer.
2016-07-27 15:05:42 -06:00
Mike McQuaid
270b0ec783
exceptions: port to generic layer.
2016-07-27 15:05:42 -06:00
Mike McQuaid
9f74ca80af
diagnostic: port to generic layer.
2016-07-27 15:05:42 -06:00
Mike McQuaid
0e25fc0143
xcode: add update instruction helpers.
2016-07-27 15:05:42 -06:00
Mike McQuaid
012fc4709a
development_tools: add install instruction helpers.
2016-07-27 15:05:42 -06:00
Mike McQuaid
c86c600bfd
blacklist: port to generic layer.
2016-07-27 15:05:42 -06:00
Mike McQuaid
c186d39289
Rakefile: skip OS X-only tests on non-OS X.
2016-07-27 15:05:42 -06:00
Martin Afanasjew
87540ada6a
utils/github: fix reverted order of credentials
...
We always return the token/password first and, if applicable, the user
name is the second element in the returned array.
Closes #581 .
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-27 21:27:25 +02:00
Martin Afanasjew
bdc1991d77
utils/github: fix broken pipe error
...
Closes #573 .
2016-07-27 21:27:25 +02:00
Martin Afanasjew
d4b5b2080d
tap: more thoroughly validate tap names
...
`Tap.fetch` and commands building on top of it accepted tap names like
`homebrew/homebrew/bogus` causing some misbehavior. Ensure neither
`user` nor `repo` include slashes and print a more helpful error message
that additionally includes the problematic tap name.
Closes #585 .
Closes #591 .
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-27 21:25:13 +02:00
Martin Afanasjew
54d1e99ffe
tap: test fetch/validation of invalid tap names
2016-07-27 21:25:13 +02:00
Andrea Kao
39453691ba
tests: extend cmd_fail to all non-zero exit codes ( #595 )
2016-07-27 21:10:46 +02:00
Tim D. Smith
9f6cb8ed04
Document virtualenv support for Python apps
...
Closes #344 .
Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-07-26 21:34:06 -07:00
Tim D. Smith
134d0bb486
Test Language::Python::Virtualenv
2016-07-26 21:34:06 -07:00
Tim D. Smith
2783adec4a
Add helper class for Python virtualenvs
2016-07-26 21:34:06 -07:00
Mike McQuaid
4174bf147c
test-bot: don't checkout/reset on --no-pull
2016-07-26 21:00:16 -06:00
Mike McQuaid
157d461626
README: add Contributing section.
...
Also, explicitly welcome new/beginner contributors and give them a suggested
starting point to contribute to Homebrew. Based on the boiler plate I tend to
send people to for GSoC, Outreachy or generally people who say "I want to try
and contribute to open-source".
2016-07-26 20:08:35 -06:00
Andrea Kao
e9c079e762
tests: add cmd/analytics integration test ( #558 )
2016-07-27 03:52:24 +02:00
Andrea Kao
0be204aab5
tests: add cmd/pull integration test ( #525 )
2016-07-26 17:08:01 +02:00
Nathan Henrie
1455aa3da6
Fix spelling of penryn ( #580 )
...
penryn was misspelled, which led to me doing a fruitless code search for where the architecture stuff is set.
2016-07-24 20:11:42 -04:00
Mike McQuaid
265c126349
analytics.sh: use full uuidgen path on OS X.
...
Fixes #575 .
2016-07-24 16:35:57 -06:00
Baptiste Fontaine
43dafc9859
brew.rb: Use odie instead of onoe+exit
...
Closes #577 .
Signed-off-by: Baptiste Fontaine <b@ptistefontaine.fr>
2016-07-24 22:05:37 +02:00