coverage.em file is not generating

26 views
Skip to first unread message

SHUBHAM SALUNKHE

unread,
Jan 18, 2022, 3:05:49 PMJan 18
to Android Building
Hi,
     I am trying to instrument java files to generate code coverage in AOSP. I have enabled following environment variables before build.

export EMMA_INSTRUMENT_FRAMEWORK=true
export EMMA_INSTRUMENT=true
export LOCAL_EMMA_INSTRUMENT=true

cov.ec file is generated, when i followed steps mentioned in link. but i am not able to generate coverage report from that & also coverage.em file is not generated. 

How to generate report from .ec? any link or tutorial will be helpful.

Thanks & Regards,
Shubham Salunkhe

Reply all
Reply to author
Forward
0 new messages