5284 Commits

Author SHA1 Message Date
Adam Vandenberg
62de8aa663 Merge Formula class name tests 2010-04-06 08:27:11 -07:00
Adam Vandenberg
ccdffb2c31 Add external deps. tests. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
1f82fe4dc7 Move TestBall definition to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
259ae27cc4 Move checksum tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
4c2a8a7f1c Move version tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
d49230733f Move inreplace tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
bcb1f61f37 Tests - remove some unused includes 2010-04-06 08:27:11 -07:00
Adam Vandenberg
a5cbf94596 Move hardware detection tests to separate file. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
3123720608 Move install tests to separate file. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
9d127ac3d5 Move updater tests to separate file. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
fd453107c6 Add tests for patching. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
298c74d147 Add new "testing environment" include. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
277e40bc7b Add shell script 'tests' to run ruby test suites. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
1d46991637 Remove silly concatenation. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
d2b2ecbd0b Add test script to extract version from URL/path. 2010-04-04 11:49:09 -07:00
Joshua Peek
04855ddd48 fix github version parser with multidigit number
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-27 14:01:19 -07:00
Adam Vandenberg
098b97801b Use tab/space when finding vars (and not newlines). 2010-03-16 12:00:00 -07:00
Martin Kühl
d03411775f Fix change_make_var! for empty variables.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-16 11:54:09 -07:00
Adam Vandenberg
6671d6275d remove_make_var! should not leave an empty assignment 2010-02-09 09:21:25 -08:00
Adam Vandenberg
3c47f7918b Add formula check for crufy SourceForge URLs. 2010-02-04 17:29:47 -08:00
Adam Vandenberg
a309403d8a Update test suite.
* Break single test case class into several test cases.
* Fix broken arch test.
* Make update tests optional (seem to only work for mxcl).
* Add more tests.
* Move fixtures to separate folder.
2010-02-02 09:08:10 -08:00
Joshua Peek
248bc890f8 Unit test for brew cleanup 2010-01-18 08:27:55 +00:00
Adam Vandenberg
d3fe4a8acc Add unittest for issue Homebrew/homebrew#127 2009-12-20 12:56:49 +00:00
Adam Vandenberg
224beabdd5 Refactor formula_test. 2009-11-19 14:13:31 -08:00
Adam Vandenberg
83fc432eab Refactor formula_test. 2009-11-18 15:50:01 -08:00
Adam Vandenberg
6e7731aeff Add test for legacy prefix quoting. 2009-11-18 15:43:00 -08:00
Max Howell
00e227ac46 More tweaking of main exception handler output 2009-11-12 01:37:02 +00:00
Max Howell
04f3ddeac0 Ignore stdout during GitDownloadStrategy.stage 2009-11-09 18:24:36 +00:00
Max Howell
1da26d89ea Don't use Kernel.system much
It just seems to behave strangely with SIGINT. Eg. SIGINT causes tar to exit, but the SIGINT is ignored by our process. This is not the case when used with curl.
2009-11-09 17:55:11 +00:00
Max Howell
8081a95c4a Better errors if missing keg or formula arguments 2009-11-07 18:22:33 +00:00
Max Howell
0cc45884bb Fixes Homebrew/homebrew#106; Don't downcase ARGV.named 2009-11-04 16:27:37 +00:00
Max Howell
d967421c6e The tests need the actual optparse apparently 2009-10-23 19:22:51 +01:00
Max Howell
3d36b01da3 Camelcase class names around the . from filenames
Eg. shell.fm -> ShellFm
2009-10-19 13:48:34 +01:00
Max Howell
543a113712 Some subdirs and renames to aid homebrew n00bs
The classes better reflect their contents. I'm sure this change may be
contentious, but I am a sucker for trying to create source bases that are easy
to get to grips with and easy to navigate.

brewkit.rb is now a deprecated file.
2009-10-15 16:51:53 +01:00