Integrate contrib/netbsd-tests/bin/expr into the build/kyua as bin/expr/tests
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
2e5b60079b
commit
e15138e574
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277358
@ -1,9 +1,15 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <src.opts.mk>
|
||||||
|
|
||||||
PROG= expr
|
PROG= expr
|
||||||
SRCS= expr.y
|
SRCS= expr.y
|
||||||
YFLAGS=
|
YFLAGS=
|
||||||
|
|
||||||
NO_WMISSING_VARIABLE_DECLARATIONS=
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
||||||
|
|
||||||
|
.if ${MK_TESTS} != "no"
|
||||||
|
SUBDIR+= tests
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
16
bin/expr/tests/Makefile
Normal file
16
bin/expr/tests/Makefile
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
OBJTOP= ${.OBJDIR}/../../..
|
||||||
|
SRCTOP= ${.CURDIR}/../../..
|
||||||
|
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/bin/expr
|
||||||
|
|
||||||
|
TESTSDIR= ${TESTSBASE}/bin/expr
|
||||||
|
|
||||||
|
NETBSD_ATF_TESTS_SH= expr_test
|
||||||
|
|
||||||
|
ATF_TESTS_SH_SED_expr_test+= -e 's/eval expr/eval expr --/g'
|
||||||
|
ATF_TESTS_SH_SED_expr_test+= -e 's/"expr: integer overflow or underflow occurred for operation.*"/"expr: overflow"/g'
|
||||||
|
|
||||||
|
.include <netbsd-tests.test.mk>
|
||||||
|
|
||||||
|
.include <bsd.test.mk>
|
@ -12,6 +12,8 @@
|
|||||||
..
|
..
|
||||||
date
|
date
|
||||||
..
|
..
|
||||||
|
expr
|
||||||
|
..
|
||||||
mv
|
mv
|
||||||
..
|
..
|
||||||
pax
|
pax
|
||||||
|
Loading…
Reference in New Issue
Block a user