summaryrefslogtreecommitdiff
diff options
authorPMR <pmr@pmr-lander>2017-06-30 18:18:06 +0000
committerPMR <pmr@pmr-lander>2017-06-30 18:18:06 +0000
commitbb8f55f4fc49aa8e0b286ca1ca2a660748af5921 (patch)
treef8c8f2bc608a57a44ae26d2b248fb34585bd78e9
parentc6b63c5321c0b4652d0add678b9a0faf512855cb (diff)
parent51bc099b47c7726fdff18b7889d83660abcf2c4c (diff)
Merge #326612 from ~kissiel/plainbox-provider-checkbox:fix-1629752-fwts-logs
-rwxr-xr-xbin/pm_test2
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'