@@ -58,7 +58,7 @@ def DumpRenderTreeFinished(adb_cmd):
5858 """
5959
6060 # pull /sdcard/webkit/running_test.txt, if the content is "#DONE", it's done
61- shell_cmd_str = adb_cmd + " shell cat /sdcard/webkit/running_test.txt"
61+ shell_cmd_str = adb_cmd + " shell cat /sdcard/0/ webkit/running_test.txt"
6262 adb_output = subprocess .Popen (shell_cmd_str , shell = True , stdout = subprocess .PIPE , stderr = subprocess .PIPE ).communicate ()[0 ]
6363 return adb_output .strip () == "#DONE"
6464
@@ -207,7 +207,7 @@ def main(options, args):
207207 # Get the running_test.txt
208208 logging .error ("DumpRenderTree crashed, output:\n " + adb_output )
209209
210- shell_cmd_str = adb_cmd + " shell cat /sdcard/webkit/running_test.txt"
210+ shell_cmd_str = adb_cmd + " shell cat /sdcard/0/ webkit/running_test.txt"
211211 crashed_test = ""
212212 while not crashed_test :
213213 (crashed_test , err ) = subprocess .Popen (
@@ -244,10 +244,10 @@ def main(options, args):
244244 logging .error ("Cannot create results dir: " + results_dir );
245245 sys .exit (1 );
246246
247- result_files = ["/sdcard/layout_tests_passed.txt" ,
248- "/sdcard/layout_tests_failed.txt" ,
249- "/sdcard/layout_tests_ignored.txt" ,
250- "/sdcard/layout_tests_nontext.txt" ]
247+ result_files = ["/sdcard/0/ layout_tests_passed.txt" ,
248+ "/sdcard/0/ layout_tests_failed.txt" ,
249+ "/sdcard/0/ layout_tests_ignored.txt" ,
250+ "/sdcard/0/ layout_tests_nontext.txt" ]
251251 for file in result_files :
252252 shell_cmd_str = adb_cmd + " pull " + file + " " + results_dir
253253 adb_output = subprocess .Popen (shell_cmd_str , shell = True , stdout = subprocess .PIPE , stderr = subprocess .PIPE ).communicate ()[0 ]
0 commit comments