Add cwd to all shell commands in auto roll scripts.
authormachenbach@chromium.org <machenbach@chromium.org>
Fri, 5 Sep 2014 09:19:48 +0000 (09:19 +0000)
committermachenbach@chromium.org <machenbach@chromium.org>
Fri, 5 Sep 2014 09:19:48 +0000 (09:19 +0000)
commita44c42a4da66d4eff72404c06ffea0d5dc8974ab
tree40dcaf8c3dbda737b43a4ad6bf439517de12db24
parent5042b23b86e045a814675462e348545615760d8d
Add cwd to all shell commands in auto roll scripts.

The v8 root directory is assumed to be the default cwd. All
commands executed in another directory (e.g. the chromium
checkout) need an explicit specification (also in the
tests).

This also fixes several small testing and robustness bugs:
- Get rid of all 'rm ...' shell calls
- Don't leak tmp files/dirs
- Add some forgotten shell calls to the test expectations
- Hardcode the DEPS location (must always be
chromium_dir/DEPS)
- Expect correct return code when terminating gracefully

BUG=chromium:408523
LOG=n
TBR=jarin@chromium.org
TEST=script_test.py

Review URL: https://codereview.chromium.org/540973002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23719 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
tools/push-to-trunk/chromium_roll.py
tools/push-to-trunk/common_includes.py
tools/push-to-trunk/git_recipes.py
tools/push-to-trunk/push_to_trunk.py
tools/push-to-trunk/releases.py
tools/push-to-trunk/test_scripts.py