drgn/scripts
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
..
pp libdrgn: pp: add PP_MAP() to call a macro on each variable argument 2024-04-26 14:53:53 -07:00
build_dists.sh scripts/build_dists.sh: default to Podman instead of Docker 2024-01-17 01:26:35 -08:00
build_manylinux_in_docker.sh Add scaffolding for libdrgn C unit tests 2024-04-26 14:53:53 -07:00
cscope.sh Add some missing copyright/license notices 2022-11-01 17:14:02 -07:00
gen_dwarf_constants.py libdrgn: dwarf_info: expand unknown DWARF expression opcode 2023-09-28 11:56:11 -07:00
gen_elf_compat.py Update scripts/gen_tests_elf_py.py to not use libdrgn/include/elf.h 2023-08-24 14:20:55 -07:00
gen_tests_elf_py.py tests: make tests.elf.SHF an IntFlag 2023-10-11 14:36:03 -07:00
generate_page_flag_getters.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
generate_primitive_type_spellings.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
iwyu.py libdrgn: use new include-what-you-use exported declarations and fix warnings 2023-05-24 00:25:25 -07:00
test_cityhash.c Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00