>> + if not self.test_installed(test.testname):
>> + test.install()
>
>The need to do this seems a bit strange, given that test.install()
>doesn't really seem to do anything? I guess given the way things work
>today it's needed.
The install function will create directory in the target, it is there for store some file.
But in this time, not really use.
Here used to keep the consistency with other tests.
>I can't find the code which will copy the pngs from the device to the
>host. Can you tell me where it is?
The png files are generate on the host by the monkeyrunner script, so there is no need to pull them form device.
And it is suggested to generated on the same directory of the monkeyrunner script file
>> + if not self.test_ installed( test.testname) :
>> + test.install()
>
>The need to do this seems a bit strange, given that test.install()
>doesn't really seem to do anything? I guess given the way things work
>today it's needed.
The install function will create directory in the target, it is there for store some file.
But in this time, not really use.
Here used to keep the consistency with other tests.
>> + bundle = {} files(config. tempdir_ host, quiet=self. args.quiet) files(config. tempdir_ host, all_png_ list).differenc e(org_png_ file_list) bundle( self.args. serial, list(new_ png_list) ) files(new_ png_list)
>> + org_png_file_list = utils.find_
>> + '.%s' % 'png')
>> + result_id = test.run(
>> + if self.args.output:
>> + cur_all_png_list = utils.find_
>> + '.%s' % 'png')
>> + new_png_list = set(cur_
>> + test_id = 'monkeyrunner(%s)' % (test_case_id)
>> + bundle = generate_
>> + result_id, test=test,
>> + test_id=test_id,
>> + attachments=
>> + utils.delete_
>> + return bundle
>I can't find the code which will copy the pngs from the device to the
>host. Can you tell me where it is?
The png files are generate on the host by the monkeyrunner script, so there is no need to pull them form device.
And it is suggested to generated on the same directory of the monkeyrunner script file