Open pileghoff opened 2 months ago
Hi. We don't currently have an asan plugin (though I'm thinking we should?). Without that plugin, the extra output is just noise and is therefore subject to the verbosity level you're running at.
If you try the following, do you see the details?
ceedling -v=obnoxious test:mem_leak
If so, that can at least help you for now. If not, I'd like to help figure out where your output is going.
Either way, I'd appreciate it if you either left this issue open, or added a followup issue with the suggestion that we write a plugin to support ASan. I suspect we're not alone in thinking this would be very useful.
As expected, adding -v=obnoxious
produces the wanted output (along with a lot of unwanted of course).
While a ASan plugin would be nice and solve this specific issue, wouldn't it make sense to print out stderr when a test case crashes? (maybe truncated?)
This way, you could help out with all other potential crashes.
That would definitely make sense for when people are building native executables. So we could default to having this behavior, but possibly disable it if they're using a simulator or other test rig. Good thought.
We have build a small plugin internally that enables asan and prints out the report as expected. It has no fancy options or anything, but i will clean it up and make the PR in the coming days.
Testing pre-release 1.0.0-3d9cd04, using aderss sanitizer, setup as:
When i generate a test case that fails due to a memory leak:
I see:
I expected the following info from asan to also be included somewhere: