5 Commits

Author SHA1 Message Date
Xu Cheng
a25fc67813 update-test: use git clone --local instead of copy
The .git directory in BrewTestBot is huge(1GB) which results to poor
performance of `brew update-test`. Therefore, let's use `git clone
--local` here which will create hard symlink to boost performance.

Closes Homebrew/homebrew#44005.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-18 14:24:54 +08:00
Xu Cheng
6792847fc1 fix update-test
Previously, `brew update-test` is run against master branch of local
repo. However, we test PR using a detached branch in `brew test-bot`.
The result is `brew update-test` will always be up-to-date in `test-bot`.

To fix it, we create two local copies of git repo, and set master branch
to start and end sha1 correspondingly. After that, `brew update` will be
run to simulate the change between start and end sha1.

Closes Homebrew/homebrew#43902.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-14 21:07:37 +08:00
Mike McQuaid
deca462d9e update_test: run update verbosely. 2015-09-14 08:00:50 +01:00
Xu Cheng
2c4eb4b503 update-test: better output 2015-09-13 13:08:41 +08:00
Xu Cheng
ce390b9bd9 add dev-cmd folder 2015-09-12 19:15:45 +08:00