8 Commits

Author SHA1 Message Date
Andrew Janke
acc9a7ca85 brew test, install, update-test: add --keep-tmp option
Also enables sandbox for --interactive and --debug use of install
and test, using automatic retention.

Closes #66.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-18 12:23:08 -04:00
Xu Cheng
a47ea61f0b update-test: fix git fork bomb 2016-04-02 21:51:36 +08:00
Xu Cheng
203000cee6 update-test: allow setting start commit
To use origin/master as start commit
  brew update-test

To use <sha1> as start commit
  brew update-test --commit=<sha1>

To use commit at <date> as start commit
  brew update-test --before=<date>

Also print start/end commit for debug purpose
2015-12-19 22:05:30 +08:00
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