Check has been implemented as a base unit test framework.
Makefile validation has been updated to attempt to verify the installation of Check's libraries.
The Make build system has been updated to look for code/test/check*.c files and manage them specially (e.g. link against the Check libraries)
One "suite" of Check test cases, for is_regular_file() have been partially implemented as PoC.
Check-based unit tests for new libraries should only require one extra Makefile rule.
Also:
Updated README with a bit more information
Updated top-level Makefile with pass-throughs down to the lower level code/Makefile interface rules (Why does that matter? Now you can just make from the top-level without any make -C code/ shenanigans)
Check has been implemented as a base unit test framework. Makefile validation has been updated to attempt to verify the installation of Check's libraries. The Make build system has been updated to look for
code/test/check*.c
files and manage them specially (e.g. link against the Check libraries) One "suite" of Check test cases, foris_regular_file()
have been partially implemented as PoC. Check-based unit tests for new libraries should only require one extra Makefile rule.Also:
README
with a bit more informationMakefile
with pass-throughs down to the lower levelcode/Makefile
interface rules (Why does that matter? Now you can justmake
from the top-level without anymake -C code/
shenanigans)