Since so many programs don't check return value, always NUL terminate the buf... fix rounding when using base 1024 (the bug that started it all)... add a set of test cases so we can make sure that things don't break in the future... Thanks to Clifton Royston for testing and the test program... Approved by: re (hrs, glebius) MFC after: 1 week
14 lines
274 B
Makefile
14 lines
274 B
Makefile
# $FreeBSD$
|
|
|
|
TESTS= test-trimdomain test-trimdomain-nodomain test-flopen test-grp \
|
|
test-pidfile test-humanize_number
|
|
CFLAGS+= -g -Wall -Wextra -Werror -lutil
|
|
|
|
.PHONY: tests
|
|
tests: ${TESTS}
|
|
for p in ${TESTS}; do ${.OBJDIR}/$$p; done
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-rm -f ${TESTS}
|