mirror of
https://github.com/opnsense/src.git
synced 2026-03-13 22:25:45 -04:00
The first test comes from OpenBSD, and the others are additions or adaptations. This is based on OpenBSD's src/regress/lib/libc/sprintf/sprintf_test.c, v1.3. I deliberately did not use v1.4 because it's bogus.
12 lines
212 B
Makefile
12 lines
212 B
Makefile
# $FreeBSD$
|
|
|
|
TESTS= test-perror test-print-positional test-printfloat test-scanfloat
|
|
CFLAGS+= -lm
|
|
|
|
.PHONY: tests
|
|
tests: ${TESTS}
|
|
for p in ${TESTS}; do ${.OBJDIR}/$$p; done
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-rm -f ${TESTS}
|