Baptiste Fontaine
36c734b392
tests: cmd/edit & cmd/info tests added
2016-01-20 20:15:34 +01:00
Baptiste Fontaine
861910b85f
sh: flush stdout before executing the shell
...
Closes Homebrew/homebrew#48268 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-20 11:37:42 +01:00
Misty De Meo
066dd63a87
test_edit: HOMEBREW_EDITOR takes precedence over EDITOR
2016-01-17 13:07:46 -08:00
Baptiste Fontaine
f41e0a6e64
tests: more integration tests
...
Closes Homebrew/homebrew#48124 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-16 15:46:01 +01:00
Xu Cheng
f0b22c4ce3
fix test_missing test
2016-01-09 19:11:34 +08:00
Baptiste Fontaine
c8401b8243
a few more integration tests
...
Closes Homebrew/homebrew#47714 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-06 12:22:58 +01:00
Baptiste Fontaine
9f1442db14
doctor: move code away from cmd/
...
Closes Homebrew/homebrew#47665 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-05 14:33:06 +01:00
Baptiste Fontaine
5d8a6e368f
integration tests: allow env overriding
2016-01-05 14:33:06 +01:00
Baptiste Fontaine
8f8c3cc1b1
integration tests: fix failing test
...
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>
2016-01-04 15:12:32 +01:00
Dominyk Tiller
cff0c63d03
test_intergration_cmds: fix minor typo
2016-01-03 19:06:26 +00:00
Dominyk Tiller
49f7c8d6a9
test_intergration_cmds: paren-wrap regex
...
Fixes this `brew readall` warning:
test_integration_cmds.rb:116: warning: ambiguous first argument; put parentheses or even spaces
2016-01-03 19:06:26 +00:00
Xu Cheng
e27bddc82a
IntegrationCommandTests: improve bottle test
...
Also let `cmd_output` capture `$stderr`
Closes Homebrew/homebrew#47383 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-12-26 18:08:45 +08:00
Xu Cheng
f258949816
add IntergrationCommandTests#test_tap
...
Closes Homebrew/homebrew#47177 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-12-19 22:05:31 +08:00
Xu Cheng
fe2bec5e8b
add IntergrationCommandTests#test_readall
2015-12-19 22:05:30 +08:00
Mike McQuaid
ca3952c500
Add some more integration command tests.
...
Add them for `install`, `bottle`, `uninstall`, `cleanup`.
Closes Homebrew/homebrew#47079 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-18 09:14:16 +00:00
Daniel Trebbien
af10515f81
Skip pouring from a bottle if --cc is passed
...
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>
2015-11-25 16:49:58 +00:00
Xu Cheng
db2552828b
test_integration_cmds: fix syntax warning
...
Library/Homebrew/test/test_integration_cmds.rb:68: warning: ambiguous first argument; put parentheses or even spaces
2015-09-06 20:15:38 +08:00
Tim D. Smith
143709e679
include git sha1 in --version output
...
HOMEBREW_VERSION doesn't change very often; the repository state is more
interesting.
Closes Homebrew/homebrew#41886 .
2015-08-25 00:13:53 -07:00
Tim D. Smith
f5642cb105
let tests pass on Xcode-only systems
...
Closes Homebrew/homebrew#42976 .
2015-08-15 20:24:20 -07:00
BrewTestBot
13d544e11e
Core files style updates.
...
Closes Homebrew/homebrew#42354 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Mike McQuaid
0c47c8f864
test_integration_cmds: basic integration tests.
...
Closes Homebrew/homebrew#41945 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-28 10:57:56 +01:00