| Age | Commit message (Collapse) | Author |
|
Fix the `brew tests` problem caused by core/formula separation.
|
|
This can become handy when we separate core code and formulae. For
example, we could use `cd $(brew --repo homebrew/core)` to go to core
tap path.
Closes Homebrew/homebrew#50346.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Core tap will be separated from core code in the near future.
It makes sense to rename it to CoreTap.
|
|
Closes Homebrew/homebrew#49551.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Also set atime to mtime, which seems to be a more common practice.
Fixes Homebrew/homebrew#49007
Closes Homebrew/homebrew#49027.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#48943.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
Closes Homebrew/homebrew#48923.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
Closes Homebrew/homebrew#48250.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
This fixes a regression introduced by 3f6a355, which caused
HOMEBREW_BREW_FILE to be unset while running the tests.
Patch provided by Xu Cheng.
|
|
Closes Homebrew/homebrew#48772.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
It makes Travis checks fail on the master.
|
|
Closes Homebrew/homebrew#48785.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
Closes Homebrew/homebrew#48674.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#48635.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
This line is necessary if the test fails. If it passes the file won't
exist anymore and shouldn't be removed.
|
|
|
|
Commands executed during integration testing are executed in a separate
process and thus generate a new result set for each command. To avoid
that these results override each other, they need to have a unique
`command_name`. Derive this name from the test class/name and the index
of the command inside that test, resulting in identifiers like
`IntegrationCommandTests#test_prefix.1 brew --prefix`.
Also replaces `TEST_TMPDIR` in the arguments with `"@TMPDIR@"` to get a
cleaner command identifier that is independent of the temporary
directory that changes with every run.
|
|
|
|
|
|
Closes Homebrew/homebrew#48268.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
Closes Homebrew/homebrew#48124.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
Closes Homebrew/homebrew#47714.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#47665.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
If the test fails above `formula_file`’s definition this line fails
because `formula_file` is `nil`.
Closes Homebrew/homebrew#47663.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
Fixes this `brew readall` warning:
test_integration_cmds.rb:116: warning: ambiguous first argument; put parentheses or even spaces
|
|
Also let `cmd_output` capture `$stderr`
Closes Homebrew/homebrew#47383.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#47177.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Add them for `install`, `bottle`, `uninstall`, `cleanup`.
Closes Homebrew/homebrew#47079.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
A formula should be built from source by default if the --cc option is
passed to specify a particular compiler.
Added a test to test_formula_installer: test_not_poured_from_bottle_when_compiler_specified
Modified test_formula_installer to assert that the formula was not poured
from a bottle. Similarly modified test_formula_installer_bottle to assert
that the formula *was* installed from a bottle.
Added an install method to the TestballBottle formula (the same as the
Testball formula's install method) so that the TestballBottle formula can
be "built from source".
Fixes Homebrew/homebrew#46046 - Build from source should be the default behavior if --cc
option is passed
Closes Homebrew/homebrew#46162.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Library/Homebrew/test/test_integration_cmds.rb:68: warning: ambiguous first argument; put parentheses or even spaces
|
|
HOMEBREW_VERSION doesn't change very often; the repository state is more
interesting.
Closes Homebrew/homebrew#41886.
|
|
Closes Homebrew/homebrew#42976.
|
|
Closes Homebrew/homebrew#42354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#41945.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|