aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2014-05-27Remove support for version "schemes", just pass version objects directlyJack Nagel
I'm not sure why I thought reinventing object instantiation was a good idea.
2014-05-26Add failing test for parsing version from erlang bottle filenameJack Nagel
2014-05-15bottle_version: support fontforge scheme.Mike McQuaid
2014-05-14Taps: cleanup regexps around TapsTsukasa OMOTO
Closes Homebrew/homebrew#29139. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-06bottle_version: handle zpython bottle.Mike McQuaid
Closes Homebrew/homebrew#28870. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-05-06bottle_version: parse disco bottle versions.Mike McQuaid
2014-05-03The \w character class already includes underscoreJack Nagel
Newer versions of Ruby issue a warning for repeated character classes.
2014-05-02Fix for String#undentBaptiste Fontaine
Without it, String#undent would fail on unindented strings, e.g.: "foo".undent NoMethodError: undefined method `length' for nil:NilClass` Closes Homebrew/homebrew#28873. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-29Remove test that doesn't add valueJack Nagel
2014-04-25Pass around only absolute paths when dealing with tapsJack Nagel
2014-04-24Make the on-disk representation of taps unambiguousTsukasa OMOTO
This commit supports "-" and "_" in names of user and repository. Closes Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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