Take two, this time split into two patches. I liked Rich's
suggestion of unit-testing src/ files directly in src/, and
automake is a lot happier with this than with my v1 attempt
that tried to compile .c files across directories.
It's still enough of a change that I'm not pushing it right
away.
Eric Blake (2):
build: Add unit-testing of internal files
utils: Revamp nbdkit_parse_size
src/test-utils.c | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/utils.c | 95 +++++++++++++++++++++++++++--------------
.gitignore | 1 +
src/Makefile.am | 15 ++++++-
4 files changed, 205 insertions(+), 34 deletions(-)
create mode 100644 src/test-utils.c
--
2.14.3