Jack Nagel
cc92f491c8
Fix test formula name so it matches the filename
2015-04-15 21:28:23 -04:00
Xu Cheng
c8835afead
move formula_specialties to compat
...
Closes Homebrew/homebrew#37365 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-04 23:20:13 +08:00
Jack Nagel
3c9bee268b
Preserve signature of #initialize in tests
2014-12-27 23:11:32 -05:00
Jack Nagel
b34fa6cfd8
Use libexec method in install test
2014-11-07 17:04:23 -06:00
Jack Nagel
d63ba368ef
Normalize requires in tests
2014-11-07 17:03:51 -06:00
Jack Nagel
45840f43a2
Clear cache after formula install tests
2014-06-23 22:11:39 -05:00
Jack Nagel
5beaa512e6
Pass the requested spec into the formula instance
2014-06-20 21:32:36 -05:00
Jack Nagel
58a75b0f71
Use assert_predicate
2014-06-18 20:34:09 -05:00
Jack Nagel
982e9239b8
Use a custom test class so we can avoid monkeypatching
2014-06-18 20:32:51 -05:00
Jack Nagel
4c0d2c2bfb
Handle failures in temporary_install better
2014-06-12 21:33:55 -05:00
Jack Nagel
1beefdb5d0
Remove repeated test code
2014-06-12 21:31:51 -05:00
Jack Nagel
3f3ba8462e
Always expand __FILE__
2014-06-12 18:14:48 -05:00
Jack Nagel
59981c5b4c
Move a test class that is only used once into the test
2014-06-12 17:58:12 -05:00
Jack Nagel
a50f09c343
Remove an extra slash in file:// URLs in tests
2014-06-12 17:58:12 -05:00
Jack Nagel
9821316ec1
Remove unused method and associated test fixtures
2014-05-28 18:48:38 -05:00
Jack Nagel
27e3ab781c
Clean up test classes
2014-04-06 15:55:25 -05:00
Jack Nagel
cecf9a564f
Tear down the cache after installation tests
2013-09-14 11:53:32 -05:00
Jack Nagel
c816ad70b6
Simplify tests
2013-04-07 20:59:52 -05:00
Jack Nagel
cfe922ffd4
Silence stderr in test suite
2013-04-01 12:15:29 -05:00
Jack Nagel
d994c6cdda
Suppress ambiguous argument and grouped expression warnings
2013-03-28 17:37:29 -05:00
Jack Nagel
8abfee7d9c
tests: adjust expectations for 'opt' directory
...
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 15:37:58 -05:00
Jack Nagel
93f8c71e21
tests: clean up whitespace
...
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04 22:47:34 -05:00
Jack Nagel
90dbb8a141
Prune some requires from test files
...
testing_env already requires utils; set up the ARGV and ENV extensions
there as well.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04 22:47:34 -05:00
Jack Nagel
af7bf47e31
tests: add utility method to quell output
...
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-18 15:16:00 -05:00
Jack Nagel
6e203a280c
tests: silence test_detect_failed_configure
...
The standard `nostdout` method doesn't work here because Formula#system
does some redirection of its own; both stdout and stderr have to be of
the same type, so just do it manually here.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-16 23:45:44 -05:00
Jack Nagel
84a4935bb5
tests: setup and teardown cleanups
...
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-16 23:08:32 -05:00
Max Howell
768910283a
Refactor the brew command into one file per command
...
The code was sucking. To the extent that maintenance was hard. It's a lot
easier to work with code that is sensibly split at sensible boundaries. So
now it is more like that.
But the refactor is minimal. Because we don't want you to have more merge
hell than absolutely necessary.
If you merge you will need to pay attention to brew.h.rb (as it is deleted)
and bin/brew (as command logic is gone). It will be painful, but you will just
have to help git out by moving any changes around manually.
Note compatibility.rb. It ensures that any function renames or removals don't
break anything. We're pretty serious about backwards compatibility. And that's
because we encourage you to hack around with the innards. And we couldn't do
that if we would then just make stuff disappear behind your back.
2011-03-12 11:55:02 -08:00
Adam Vandenberg
1761ba66bf
Failures during ./configure should mention config.log.
2010-06-10 12:57:51 -07:00
Adam Vandenberg
1f82fe4dc7
Move TestBall definition to separate file.
2010-04-06 08:27:11 -07:00
Adam Vandenberg
3123720608
Move install tests to separate file.
2010-04-06 08:27:10 -07:00