Helper programs are programs, not tests, so build them appropriately.

Thie removes the need for custom Atffiles whose only purpose was to exclude
the helpers that had been built as tests.
This commit is contained in:
pgoyette 2012-12-02 17:36:10 +00:00
parent 2e01f80e03
commit 826c760e5d
4 changed files with 14 additions and 22 deletions

View File

@ -1,6 +0,0 @@
Content-Type: application/X-atf-atffile; version="1"
X-NetBSD-Id: "$NetBSD: Atffile,v 1.1 2011/02/15 15:16:46 pooka Exp $"
prop: test-suite = "NetBSD"
tp-glob: t_*

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2011/03/08 12:40:25 pooka Exp $
# $NetBSD: Makefile,v 1.5 2012/12/02 17:36:10 pgoyette Exp $
#
.include <bsd.own.mk>
@ -6,12 +6,14 @@
TESTSDIR= ${TESTSBASE}/lib/librumpclient
TESTS_C= t_fd
TESTS_C+= h_exec
TESTS_C+= h_execthr
TESTS_SH= t_exec
ATFFILE= yes
BINDIR= ${TESTSDIR}
MKMAN= no
PROGS+= h_exec
PROGS+= h_execthr
LDADD+= -lrumpclient
LDADD.h_execthr= -lpthread

View File

@ -1,6 +0,0 @@
Content-Type: application/X-atf-atffile; version="1"
X-NetBSD-Id: "$NetBSD: Atffile,v 1.1 2011/02/06 18:44:29 pooka Exp $"
prop: test-suite = "NetBSD"
tp-glob: t_*

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2011/03/14 15:57:23 pooka Exp $
# $NetBSD: Makefile,v 1.8 2012/12/02 17:36:10 pgoyette Exp $
#
.include <bsd.own.mk>
@ -11,9 +11,13 @@ TESTS_SH+= t_cwd
TESTS_SH+= t_sh
TESTS_SH+= t_tcpip
TESTS_SH+= t_vfs
TESTS_C= h_client
TESTS_C+= h_netget
TESTS_C+= h_cwd
BINDIR= ${TESTSDIR}
MKMAN= no
PROGS+= h_client
PROGS+= h_netget
PROGS+= h_cwd
FILES= netstat.expout index.html
FILESDIR= ${TESTSDIR}
@ -24,6 +28,4 @@ FILES+= ssh_host_key
FILES+= ssh_host_key.pub
FILES+= sshd_config.in
ATFFILE= yes
.include <bsd.test.mk>