<feed xmlns='http://www.w3.org/2005/Atom'>
<title>brew/Library/Homebrew/test/lib, branch 0.9.8</title>
<subtitle>🍺 The missing package manager for macOS</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/'/>
<entry>
<title>add HOMEBREW_ENV_PATH internal variable</title>
<updated>2016-03-21T11:07:38+00:00</updated>
<author>
<name>Xu Cheng</name>
</author>
<published>2016-03-19T17:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=ce7b32cec835bb658df75a0c691db9a97921163c'/>
<id>ce7b32cec835bb658df75a0c691db9a97921163c</id>
<content type='text'>
`Library/ENV` like `Library/Homebrew` is part of Homebrew basecode. It
should be able to be accessed during the `brew tests`.

By adding HOMEBREW_ENV_PATH variable, we allow test suit to locate these
codes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`Library/ENV` like `Library/Homebrew` is part of Homebrew basecode. It
should be able to be accessed during the `brew tests`.

By adding HOMEBREW_ENV_PATH variable, we allow test suit to locate these
codes.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: monkey-patch exec to get coverage reports</title>
<updated>2016-02-07T10:52:26+00:00</updated>
<author>
<name>Baptiste Fontaine</name>
</author>
<published>2016-02-06T17:40:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=115e6b49bcfe1a6b32d52fb873af284a0750a1cb'/>
<id>115e6b49bcfe1a6b32d52fb873af284a0750a1cb</id>
<content type='text'>
Closes Homebrew/homebrew#48923.

Signed-off-by: Baptiste Fontaine &lt;batifon@yahoo.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes Homebrew/homebrew#48923.

Signed-off-by: Baptiste Fontaine &lt;batifon@yahoo.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>make HOMEBREW_BREW_FILE a Pathname object</title>
<updated>2016-02-05T18:52:48+00:00</updated>
<author>
<name>Xu Cheng</name>
</author>
<published>2016-02-05T14:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=12a452557d7695dba69f488a95a77a2650d28251'/>
<id>12a452557d7695dba69f488a95a77a2650d28251</id>
<content type='text'>
Currently HOMEBREW_BREW_FILE is a String, while other of HOMEBREW_*
variables are all Pathname. This commit unifies them all as Pathname,
so it will not cause any confusion.

Closes Homebrew/homebrew#48872.

Signed-off-by: Xu Cheng &lt;xucheng@me.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently HOMEBREW_BREW_FILE is a String, while other of HOMEBREW_*
variables are all Pathname. This commit unifies them all as Pathname,
so it will not cause any confusion.

Closes Homebrew/homebrew#48872.

Signed-off-by: Xu Cheng &lt;xucheng@me.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HOMEBREW_BREW_FILE was unset for the tests</title>
<updated>2016-02-05T13:52:11+00:00</updated>
<author>
<name>ilovezfs</name>
</author>
<published>2016-02-03T07:37:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=fb9818ae8c3cb3bda4182fc1c0fcb6f1e55e4374'/>
<id>fb9818ae8c3cb3bda4182fc1c0fcb6f1e55e4374</id>
<content type='text'>
This fixes a regression introduced by 3f6a355, which caused
HOMEBREW_BREW_FILE to be unset while running the tests.

Patch provided by Xu Cheng.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a regression introduced by 3f6a355, which caused
HOMEBREW_BREW_FILE to be unset while running the tests.

Patch provided by Xu Cheng.
</pre>
</div>
</content>
</entry>
<entry>
<title>DSL method "apply" to specify patch files</title>
<updated>2016-02-01T18:37:36+00:00</updated>
<author>
<name>ilovezfs</name>
</author>
<published>2016-01-25T16:21:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=cc3d041c263ef88d2d301d06eb17031cfabfc971'/>
<id>cc3d041c263ef88d2d301d06eb17031cfabfc971</id>
<content type='text'>
The "apply" DSL method can be called from patch-do blocks to specify
the paths within an archive of the desired patch files, which will be
applied in the order in which they were supplied to the "apply" calls.
If "apply" isn't used, raise an error whenever the extracted directory
doesn't contain exactly one file.

The "apply" method can be called zero or more times within a patch-do
block with the following syntaxes supported:

    apply "single_apply"
    apply "multiple_apply_1", "multiple_apply_2"
    apply [array_of_apply]

If apply must be used, a single call using the second syntax above is
usually best practice. Each apply leaf should be the relative path to a
specific patch file in the extracted directory.

For example, if extracting this-v123-patches.tar.gz gives you

    this-123
    this-123/.DS_Store
    this-123/LICENSE.txt
    this-123/patches
    this-123/patches/A.diff
    this-123/patches/B.diff
    this-123/patches/C.diff
    this-123/README.txt

and you want to apply only B.diff and C.diff, then you need to use
"patches/B.diff" and "patches/C.diff" for the lowest-level apply leaves.

The code was provided by Xu Cheng. Any mistakes are mine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "apply" DSL method can be called from patch-do blocks to specify
the paths within an archive of the desired patch files, which will be
applied in the order in which they were supplied to the "apply" calls.
If "apply" isn't used, raise an error whenever the extracted directory
doesn't contain exactly one file.

The "apply" method can be called zero or more times within a patch-do
block with the following syntaxes supported:

    apply "single_apply"
    apply "multiple_apply_1", "multiple_apply_2"
    apply [array_of_apply]

If apply must be used, a single call using the second syntax above is
usually best practice. Each apply leaf should be the relative path to a
specific patch file in the extracted directory.

For example, if extracting this-v123-patches.tar.gz gives you

    this-123
    this-123/.DS_Store
    this-123/LICENSE.txt
    this-123/patches
    this-123/patches/A.diff
    this-123/patches/B.diff
    this-123/patches/C.diff
    this-123/README.txt

and you want to apply only B.diff and C.diff, then you need to use
"patches/B.diff" and "patches/C.diff" for the lowest-level apply leaves.

The code was provided by Xu Cheng. Any mistakes are mine.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: add metafiles to testball</title>
<updated>2016-01-20T19:42:36+00:00</updated>
<author>
<name>Alex Dunn</name>
</author>
<published>2016-01-18T01:01:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=0cde5dd06048f00d17abf3c009c86eced3f68c09'/>
<id>0cde5dd06048f00d17abf3c009c86eced3f68c09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>a few more integration tests</title>
<updated>2016-01-06T11:22:58+00:00</updated>
<author>
<name>Baptiste Fontaine</name>
</author>
<published>2016-01-05T14:45:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=c8401b8243ee5fba55cc9ca507dd57347c3480aa'/>
<id>c8401b8243ee5fba55cc9ca507dd57347c3480aa</id>
<content type='text'>
Closes Homebrew/homebrew#47714.

Signed-off-by: Baptiste Fontaine &lt;batifon@yahoo.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes Homebrew/homebrew#47714.

Signed-off-by: Baptiste Fontaine &lt;batifon@yahoo.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test/lib/config: HOMEBREW_LIBRARY_PATH is normally a Pathname.</title>
<updated>2015-07-28T09:57:55+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2015-07-22T14:38:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=76a0b1d494283865576c66f4ffec5ab691234280'/>
<id>76a0b1d494283865576c66f4ffec5ab691234280</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Let the test environment inject its own load path</title>
<updated>2015-04-29T23:15:11+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2015-04-29T02:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=2ca8172fe9f1aba5188fc4ab164b34d5def607c9'/>
<id>2ca8172fe9f1aba5188fc4ab164b34d5def607c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Dir.tmpdir rather than /tmp in test environment</title>
<updated>2015-04-29T23:15:11+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2015-04-29T02:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=80403db9a18159ed72c5a195f937d836a62c47e5'/>
<id>80403db9a18159ed72c5a195f937d836a62c47e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
