austgl / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

Android log file size is limited. #156

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If running lots of test cases, we only can get last few test cases results from 
android log.

Use command 'adb logcat' to get the test cases result from android log, it only 
get few test results. 
Maybe it is because of limited android log file size.

Could you tell me where is the android log file and what's the biggest size?
Is there any way to enlarge the android log file size?

If not, how can we get all logs if running lots of test cases?

Use command 'adb shell am instrument ...' to run test cases, we cannot see the 
passed test case name in the console, they are marked as "." for pass. So we 
have to get the detailed test results from android log.

Original issue reported on code.google.com by derek110...@gmail.com on 15 Sep 2011 at 5:03

GoogleCodeExporter commented 9 years ago
You can save the log to a file like this:

adb logcat -v time > logcat_XXXX.txt &

Original comment by renasr...@gmail.com on 15 Sep 2011 at 6:53

GoogleCodeExporter commented 9 years ago
Thanks for your help.

The reported issue is none of Robotium, but you still give me the answer.
Thank you very much.

Original comment by derek110...@gmail.com on 15 Sep 2011 at 9:15