act262 / robotium

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

clearLog doesn't work #556

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run test which has "clearLog()"
2.adb shell
3.logcat -d

What is the expected output? What do you see instead?
  After clearLog, `logcat -d` still out lot of message before clearLog

What version of the product are you using? On what operating system?
  robotium:4.3.1
  android:4.1.2
  host:ubuntu 12.04 64bit

Please provide any additional information below.
  After I found this issue, I tried to read robotium source code, and I found that how clearLog works. Then I put it in my own code, and output the exit value of "logcat -c", I found that it always output "1". I'm really confused about that.

Sorry for my poor English.

Original issue reported on code.google.com by na...@foxmail.com on 19 Nov 2013 at 12:52

GoogleCodeExporter commented 9 years ago
Unfortunately there is not much we can do about this. This is the only way we 
have found to clear it. 

Original comment by renasr...@gmail.com on 19 Nov 2013 at 2:56