opnsense-src/lib/libc/tests/gen/posix_spawn/Makefile
Enji Cooper b2d48be1bc Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
netbsd-tests.test.mk (r289151)

- Eliminate explicit OBJTOP/SRCTOP setting
- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk
- Remove unnecessary TESTSDIR setting
- Use SRCTOP where possible for clarity

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Divison
2015-10-12 08:16:03 +00:00

30 lines
448 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
BINDIR= ${TESTSDIR}
NETBSD_ATF_TESTS_C= fileactions_test
NETBSD_ATF_TESTS_C+= spawn_test
NETBSD_ATF_TESTS_C+= spawnattr_test
PROGS= h_fileactions
PROGS+= h_spawn
PROGS+= h_spawnattr
SCRIPTS= h_nonexec
SCRIPTS+= h_zero
CLEANFILES+= h_nonexec
.include "../../Makefile.netbsd-tests"
h_zero:
dd if=/dev/zero of=h_zero bs=1k count=2
chmod a+x h_zero
CLEANFILES+= h_zero
WARNS?=3
.include <bsd.test.mk>