summaryrefslogtreecommitdiff
diff options
-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'