drgn/libdrgn/build-aux
Omar Sandoval 2087f6bb40 Add scaffolding for libdrgn C unit tests
So far we've been getting away with only unit testing through Python.
However, there's plenty of (existing and upcoming) internal code that
would be nice to unit test directly in C. For a framework, I opted for
check (https://libcheck.github.io/check/) because it is minimal, mature,
and available on all major distros. Add the autotools scaffolding,
including a copy of the checkmk script from check 0.15.2 since RHEL and
CentOS don't package it. We check the dependencies at configure time but
only fail if they're not available at `make check` time. Also wire up
`setup.py test` to run `make check`.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2024-04-26 14:53:53 -07:00
..
.gitignore Add scaffolding for libdrgn C unit tests 2024-04-26 14:53:53 -07:00
checkmk Add scaffolding for libdrgn C unit tests 2024-04-26 14:53:53 -07:00
codegen_utils.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
gen_arch_inc_strswitch.py Add StackFrame.sp 2022-11-22 18:47:16 -08:00
gen_c_keywords_inc_strswitch.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
gen_constants.py libdrgn: python: fix Py_BuildValue() type in gen_constants.py 2022-12-07 16:46:33 -08:00
gen_elf_sections.py libdrgn: elf_file: drop .debug_line and .debug_line_str 2023-10-11 15:07:28 -07:00
gen_strswitch.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00