[BUG] Ndk r23 with Gcov tool
- Dominant language
- No language data
- Stars
- 2.3k
- Forks
- 310
- PR merge metrics
- No merged PRs in 30d
Description
--------------------------------------------------------------------------------
#### Description
Gcov tool doesn't create .gcda files in the device, when using Ndk r23. It's working with Ndk r21d when running the same. .Gcno files are generated on the computer, but there are no .gcda files in the device after running gtest. Does anyone have ideas of the cause?
In both ndk versions I build with these makefile flags:
LOCAL_LDFLAGS += -coverage
LOCAL_CFLAGS += -coverage
LOCAL_NATIVE_COVERAGE :=true
Thanks!
Contributor guide
Research direction
Compare the NDK r21d and r23 build configurations using the listed LOCAL_LDFLAGS, LOCAL_CFLAGS, and LOCAL_NATIVE_COVERAGE settings. Run the gtest case on the device and inspect the generated .gcno and expected .gcda files; done means coverage data is written as it was with r21d.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile-dev, testing, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100