Commit Graph
28 Commits
Author SHA1 Message Date
Jack Nagel ef4de70a5f Remove obsolete tests
This behavior is now tested at more appropriate levels in
test_software_spec, test_formula_spec_selection, and
test_formula_validation.
2013-04-13 18:23:06 -05:00
Jack Nagel f96d8e99d5 Make test formulae initializers more flexible 2013-04-10 12:02:35 -05:00
Jack Nagel 2323dfdac1 Move formula equality tests out of test_bucket 2013-04-10 12:02:35 -05:00
Jack Nagel cdbc57aac7 Clean up mirror support test 2013-04-08 19:15:22 -05:00
Jack Nagel 8510120f07 Fix specs in TestBall 2013-04-08 17:43:01 -05:00
Jack Nagel a21376f31f Simplify tests 2013-04-07 20:59:52 -05:00
Jack Nagel 725704f7fb Isolate compiler selector tests 2013-04-02 13:19:04 -05:00
Mike McQuaid 98047d08c4 Relocate bottles using install_name_tool.
This has two parts:

1. Bottles are temporarily relocated on bottling and tested if that is
sufficient for them to contain no longer reference the prefix or
cellar. If so, they are marked as relocatable.
2. On installation if bottles are marked as relocatable they will be
relocated using install_name_tool to the current prefix and cellar.

Closes #18374.
2013-03-11 18:58:37 +00:00
Jack Nagel 7b055a34fb Fix tests under 32-bit SL 2013-03-09 17:38:45 -06:00
Mike McQuaid febd499cd5 bottles: remove unused 'version' from DSL. 2013-03-09 21:27:41 +00:00
Mike McQuaid 82ecb69a53 Add non-/usr/local bottles support.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid f99e05bb49 Cleanup bottle DSL.
* Remove legacy url syntax.
* Use revision instead of version.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid 3318b08a2e Don't use underscores in (new) bottle filenames.
Closes #14270
2013-01-29 17:14:09 -08:00
Mike McQuaid e9eac42daa Cleanup old bottle syntax. 2013-01-29 17:14:00 -08:00
Mike McQuaid b5069edcbd brew-test: use SHA-1 in all testballs. 2013-01-26 13:10:06 +00:00
Jack Nagel db7a800130 Add support for custom version schemes
A version scheme is a class that inherits from Version and reimplements
Version#<=>. This will allow formulae to specify a custom comparison
method that will be used instead of the default, for cases where the
default is insufficient.
2012-08-18 11:12:09 -05:00
Jack Nagel e6b97bebd9 Deprecate ancient formula syntax
Closes #13444.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-09 23:56:54 -05:00
Jack Nagel 8ed666ae7d tests: clean up whitespace
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04 22:47:34 -05:00
Jack Nagel 3e2c41c7d9 Demonstrate that bottles are selected correctly
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04 22:47:34 -05:00
Jack Nagel cb94753b88 Introduce new formula specs 2012-07-04 22:47:32 -05:00
Jack Nagel 8e38d050cf tests: remove special-casing @path in TestBall
Tests that expect Formula#path to resolve to a real path should use
TestBallWithRealPath; TestBall gets its original behavior back, fixing a
failing test in test_formula_install.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-14 00:00:04 -05:00
Jack Nagel 89899c2345 Clean up fails_with test classes
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-07 13:29:40 -05:00
Jack Nagel ddfbaab578 info: output correct URL for tapped dupes
Tapped formulae that dupe those in core now display the correct URL when
invoked like `brew info homebrew/dupes/openssl`.

This also fixes the broken `brew info` test.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-06 23:54:41 -05:00
Jack Nagel b36f59dd3c New fails_with infrastructure
- Formulae can now declare failures on any compiler.
 - FailsWithLLVM and associated formula elements have been moved to
   compat.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Charlie Sharpsteen b44c76cad0 mirror support: Add test 2011-09-19 09:25:02 -07:00
Adam Vandenberg 45183495c1 Move testing tarballs into subfolder 2010-07-29 12:03:23 -07:00
Adam Vandenberg 7a12e2c398 Failures during ./configure should mention config.log. 2010-06-10 12:57:51 -07:00
Adam Vandenberg 9c4623c427 Move TestBall definition to separate file. 2010-04-06 08:27:11 -07:00