How to collect core dumps from unit tests?

Viewed 131

What is the easiest way to collect core dumps from unit tests job in ci? Tests are run with CTest if important. I can set up kernel_pattern and write the corresponding path in the artifacts, but I still need to copy the executable file of the crashed application with symbols, which is no longer so trivial. Or is there another way to get a dump with symbols at once, without having to look for an executable?

0 Answers
Related