diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2017-01-18 17:30:04 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2017-01-23 14:50:50 +0000 |
commit | f6c4c21172f9ecb16aa0e32aac13032e53eba1d4 (patch) | |
tree | 2e3661eaa41f380ca46a6ef6fb2a75a70b91317f /automated | |
parent | 62a185cc36dd833a52054dbb066ba838be50bd54 (diff) |
test-runner: user $HOME instead of /root
Avoid hardcoding '/root', and use $HOME instead. A nice side effect is that it
allows to use test-runner on the PC as standard user for local debug..
Change-Id: I2003565f9a9aa432dcf5e02cc49f7e87fe8ed946
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'automated')
-rwxr-xr-x | automated/utils/test-runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/automated/utils/test-runner.py b/automated/utils/test-runner.py index 9a96aac..2982b4a 100755 --- a/automated/utils/test-runner.py +++ b/automated/utils/test-runner.py @@ -507,10 +507,10 @@ class ResultParser(object): def get_args(): parser = argparse.ArgumentParser() - parser.add_argument('-o', '--output', default='/root/output', dest='output', + parser.add_argument('-o', '--output', default=os.getenv("HOME") + '/output', dest='output', help=''' specify a directory to store test and result files. - Default: /root/output + Default: $HOME/output ''') parser.add_argument('-p', '--test_plan', default=None, dest='test_plan', help=''' |