Merge lp:~liuyq0307/lava-android-test/modify4mmtest into lp:lava-android-test
Proposed by
Yongqin Liu
Status: | Merged |
---|---|
Merged at revision: | 133 |
Proposed branch: | lp:~liuyq0307/lava-android-test/modify4mmtest |
Merge into: | lp:lava-android-test |
Diff against target: |
38 lines (+10/-5) 1 file modified
lava_android_test/test_definitions/mmtest.py (+10/-5) |
To merge this branch: | bzr merge lp:~liuyq0307/lava-android-test/modify4mmtest |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki (community) | Approve | ||
Review via email: mp+90682@code.launchpad.net |
Description of the change
did two things
1. modify the level of wget so that we can get the sub directory
2. modify the location that to put media files, so that the apk and see the files
To post a comment you must log in.
5 -# Copyright (c) 2011 Linaro
6 -
7 +# Copyright (C) 2012 Linaro Limited
8 +#
You should append the date, don't remove older year numbers (so 2011-2012 or 2011, 2012)
23 -RUN_STEPS_HOST_PRE = ['wget -r -np -l 2 -R csv,txt, css,html, gif %s -P %s' % (site, local_name), css,html, gif,pdf %s -P %s' % (site, local_name),
24 +RUN_STEPS_HOST_PRE = ['wget -r -np -l 10 -R csv,txt,
While not critical using the long option names and would make this part much easier to understand. Also, by
keeping the formatting per-argument you avoid white-space bugs and keep formatting operator closer to where it is used. I did not check if this is possible in our current dispatcher interface but still this makes it readable.
[ 'wget', '--recursive', '--no-parent', '--level=20', '--reject csv,txt, css,html, gif,pdf' , '--directory- prefix= %s' % local_name, site]
Still, a +1