diff options
author | Maciej Kisielewski <maciej.kisielewski@canonical.com> | 2017-06-30 17:09:44 +0200 |
---|---|---|
committer | Maciej Kisielewski <maciej.kisielewski@canonical.com> | 2017-06-30 17:30:28 +0200 |
commit | 51bc099b47c7726fdff18b7889d83660abcf2c4c (patch) | |
tree | f8c8f2bc608a57a44ae26d2b248fb34585bd78e9 /bin | |
parent | c6b63c5321c0b4652d0add678b9a0faf512855cb (diff) |
write fwts logs to pm_test's log dir
Fixes: LP:1629752 Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pm_test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/pm_test b/bin/pm_test index c0fb879..7eff96c 100755 --- a/bin/pm_test +++ b/bin/pm_test @@ -140,6 +140,8 @@ class PowerManagementOperation(object): if fwts: script_name = 'fwts_test' command_tpl = '{} -s s3 --s3-device-check --s3-sleep-delay=30 --s3-multiple={}' + if self.args.log_dir: + command_tpl += ' --log={}/fwts.log'.format(self.args.log_dir) else: script_name = 'sleep_test' command_tpl = '{} -s mem -p -i {} -w 10' |