aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2014-04-24Make the on-disk representation of taps unambiguousTsukasa OMOTO
This commit supports "-" and "_" in names of user and repository. Closes #28203. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-23Support core GCC formula as a GCC compiler.Mike McQuaid
It is activated by the same mechanism as the Homebrew/versions compilers which now check if the GCC formula uses the same, correct version. References #28418.
2014-04-21Don't test jruby deps since it makes the tests slowJack Nagel
2014-04-21Raise AlreadyLinkedError when a keg is already linkedJack Nagel
2014-04-21Raise useful errors from make_relative_symlinkJack Nagel
2014-04-15Don't use assert_nothing_raisedJack Nagel
2014-04-15Remove questionable testJack Nagel
This is already covered in test_mach.rb.
2014-04-10Add tests for new bottling hooks.Mike McQuaid
Closes #27890. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-04-06Clean up test classesJack Nagel
2014-04-03Remove special behavior of autotools symbol depsJack Nagel
Closes #28094.
2014-04-01Stop jumping through hoops to get at the collector objectJack Nagel
2014-03-27Assert that Keg#link produces relative symlinksJack Nagel
2014-03-27Assert that the broken symlink is actually overwrittenJack Nagel
2014-03-27Don't let broken symlinks halt linkingJack Nagel
2014-03-24bottle_version: handle pazpar2 style.Mike McQuaid
2014-03-22Preserve permissions when using Pathname#atomic_writeJack Nagel
2014-03-18Set bottle download strategy directlyJack Nagel
We know what strategy we want, so going through DownloadStrategyDetector is wasted work. Now we can remove those patterns from the detector and have two fewer branches each time through.
2014-03-18Make relative symlinks in Pathname#install_symlinkJack Nagel
Closes #27672.
2014-03-17bottle_version: support lz4 style.Mike McQuaid
2014-03-13Enable new patch implementation with compatibility layerJack Nagel
2014-03-13New patch implementation and DSLJack Nagel
This commit introduces a new patch implementation that supports checksums and caching. Patches are declared in blocks: patch do url ... sha1 ... end A strip level of -p1 is assumed. It can be overridden using a symbol argument: patch :p0 do url ... sha1 ... end Patches can be declared in stable, devel, and head blocks. This form is preferred over using conditionals. stable do # ... patch do url ... sha1 ... end end Embedded (__END__) patches are declared like so: patch :DATA patch :p0, :DATA Patches can also be embedded by passing a string. This makes it possible to provide multiple embedded patches while making only some of them conditional. patch :p0, "..."
2014-03-13Make debug an installer modeJack Nagel
2014-03-10Make bottle implementation more genericJack Nagel
2014-03-09Clear dependency cache after each testJack Nagel
2014-03-05Remove special X11 proxy depsJack Nagel
2014-03-05Encode formula revision in installation prefixJack Nagel
In order to allow kegs built with the same version but differing formula revisions to coexist, we must encode the revision as part of the keg's name. This is necessary to actually perform an upgrade, as we cannot upgrade a keg in-place, and temporarily moving it pending the result of the upgrade is error-prone and potentially slow. To accomplish this, we introduce a new Formula#pkg_version method that concatenates the active_spec version with the formula revision. An exception is made for a formula that has no revision: the tag is omitted. This preserves compatibility with existing installations.
2014-03-03Simplify test formula setupJack Nagel
2014-02-28Add TapDependencyJack Nagel
2014-02-27Set owner ivar in SoftwareSpecJack Nagel
2014-02-27Eliminate mutation of Dependency objectsJack Nagel
2014-02-27Add set union to OptionsJack Nagel
2014-02-27Apply cyclic dependency hack unconditionallyJack Nagel
2014-02-23Cleaner: do work in clean instead of constructorAdam Vandenberg
2014-02-22bottle_version: add x264.Mike McQuaid
2014-02-22bottle_version: improve test filenames.Mike McQuaid
2014-02-21Eliminate nil check on path parameterJack Nagel
2014-02-21Move Formula.class_s to FormularyJack Nagel
2014-02-21Remove downloader from FormulaJack Nagel
2014-02-21Remove test with too much implementation knowledgeJack Nagel
2014-02-18Inline static exception text to remove a rescueJack Nagel
2014-02-13Implement equality for Dependencies collectionsJack Nagel
2014-01-11Fix tokenizing openssl style versionsJack Nagel
Fixes #25736.
2014-01-04stdenv tests: add gcc-4.0 testMisty De Meo
2013-12-22cleaner: add more tests for current behaviorJack Nagel
2013-12-21cleaner: clean up broken and orphaned symlinksJack Nagel
2013-12-21cleaner: add test to demonstrate that empty prefixes are removedJack Nagel
2013-12-21cleaner: add tests to document current pruning behaviorJack Nagel
2013-12-21cleaner: add tests to demonstrate some current failuresJack Nagel
2013-12-21cleaner: slightly less coupling in testsJack Nagel
2013-12-14Update string references to mxcl/homebrew.Mike McQuaid