blob: 9d4f7a4dca55531c430dd332a1c15eeddd07e2a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $OpenBSD: Makefile,v 1.2 2015/10/09 11:38:05 semarie Exp $
PROG= generic
SRCS+= main.c manager.c test_tty.c
NOMAN= yes
CFLAGS+= -Wall -Werror
REGRESS_TARGETS+= test_normal test_systrace
REGRESS_SKIP_TARGETS+= test_systrace
test_normal: ${PROG}
./${PROG} | diff -I OpenBSD -u ${.CURDIR}/tests.out -
test_systrace: ${PROG}
systrace -A ./${PROG} | diff -I OpenBSD -u ${.CURDIR}/tests.out -
regenerate: ${PROG}
echo '# $$OpenBSD: Makefile,v 1.2 2015/10/09 11:38:05 semarie Exp $$' > ${.CURDIR}/tests.out
./${PROG} | tee -a ${.CURDIR}/tests.out
.include <bsd.regress.mk>
|