glibcmock
glibcmock copied to clipboard
Incompatible with CMake's add_executable compiled tests
Expected equality of these values:
2
ehdr->e_type
Which is: 3
object file type should be [ET_EXEC]
CMake set the ELF e_type flag to ET_DYN with a main symbol so it is executable.
I think glibcmock should not assume a executable ELF file has e_type == ET_EXEC
Could you give me an example? Thanks.