Open
Bug 887971
Opened 11 years ago
Updated 2 years ago
Reliable printf alternative for test debugging
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: BenWa, Unassigned)
References
(Depends on 1 open bug)
Details
Getting test output on mobile is very difficult because of logcat. We need some platform neutral logging API developers can use that will:
1) Show up to stdout.
2) Show up in the TBPL log.
3) Show in order logging, ideally between multiple threads
4) Must never lose logging (i.e. not pull adb logcat every 10 seconds) unless the log exceed some multi MB threshold.
5) Work for non debug builds.
6) Optional: Have a c++ string stream (testout << "Length: " << x << endl) implementation.
Reporter | ||
Comment 1•11 years ago
|
||
Opps wrong CC
Reporter | ||
Comment 2•11 years ago
|
||
Depends on bug 881389 because we shouldn't duplicate anything that is going to be done there.
Depends on: OneLogger
Comment 3•11 years ago
|
||
BenWa, what is the delta between the two bugs? Once bug 881389 is done, which particular items above are not covered, or incomplete?
Flags: needinfo?(bgirard)
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #3)
> BenWa, what is the delta between the two bugs? Once bug 881389 is done,
> which particular items above are not covered, or incomplete?
We're still missing have a way to output the logging in mobile. Once bug 881389 lands that output will still go to 'adb logcat' which is not in the test log.
For this bug to be resolved we need to either include ALL logcat in the test log or find a way to forward this new logging to test output stream.
Flags: needinfo?(bgirard)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•