mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-13 22:28:36 +00:00
Remove redundant logging from skype workload
This commit is contained in:
parent
6b65e9ac86
commit
df19e7a915
@ -53,7 +53,7 @@ class Skype(AndroidUiAutoBenchmark):
|
||||
package+'/com.skype.android.app.signin.UnifiedLandingPageActivity']
|
||||
activity = ''
|
||||
# Skype has no default 'main' activity
|
||||
launch_main = False # overrides extended class
|
||||
launch_main = False # overrides extended class
|
||||
|
||||
instrumentation_log = '{}_instrumentation.log'.format(name)
|
||||
|
||||
@ -97,18 +97,15 @@ class Skype(AndroidUiAutoBenchmark):
|
||||
super(Skype, self).initialize(context)
|
||||
|
||||
def setup(self, context):
|
||||
self.logger.info('===== setup() ======')
|
||||
super(Skype, self).setup(context)
|
||||
self.device.execute('am force-stop {}'.format(self.package))
|
||||
self.device.execute('am start -W -a android.intent.action.VIEW -d skype:dummy?dummy')
|
||||
time.sleep(1)
|
||||
|
||||
def run(self, context):
|
||||
self.logger.info('===== run() ======')
|
||||
super(Skype, self).run(context)
|
||||
|
||||
def update_result(self, context):
|
||||
self.logger.info('===== update_result() ======')
|
||||
super(Skype, self).update_result(context)
|
||||
|
||||
self.device.pull_file(self.output_file, context.output_directory)
|
||||
@ -133,7 +130,6 @@ class Skype(AndroidUiAutoBenchmark):
|
||||
match.group('value3'), units='ms')
|
||||
|
||||
def teardown(self, context):
|
||||
self.logger.info('===== teardown() ======')
|
||||
super(Skype, self).teardown(context)
|
||||
# Pull log files
|
||||
wd = self.device.working_directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user