mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-22 01:03:07 +00:00
2087f6bb40
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> |
||
---|---|---|
.. | ||
pp | ||
build_dists.sh | ||
build_manylinux_in_docker.sh | ||
cscope.sh | ||
gen_dwarf_constants.py | ||
gen_elf_compat.py | ||
gen_tests_elf_py.py | ||
generate_page_flag_getters.py | ||
generate_primitive_type_spellings.py | ||
iwyu.py | ||
test_cityhash.c |