Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/regex Arrange so that the same tests can be u...



details:   https://anonhg.NetBSD.org/src/rev/f4228010c723
branches:  trunk
changeset: 771006:f4228010c723
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 05 23:33:15 2011 +0000

description:
Arrange so that the same tests can be used by libtre.

diffstat:

 tests/lib/libc/regex/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 35693b3dec43 -r f4228010c723 tests/lib/libc/regex/Makefile
--- a/tests/lib/libc/regex/Makefile     Sat Nov 05 23:32:51 2011 +0000
+++ b/tests/lib/libc/regex/Makefile     Sat Nov 05 23:33:15 2011 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2011/10/11 23:04:21 dholland Exp $
+# $NetBSD: Makefile,v 1.5 2011/11/05 23:33:15 christos Exp $
 
 MKMAN= no
 
 .include <bsd.own.mk>
 
-TESTSDIR=      ${TESTSBASE}/lib/libc/regex
+TESTSDIR?=     ${TESTSBASE}/lib/libc/regex
 
 BINDIR=                ${TESTSDIR}
 PROGS+=                h_regex
@@ -37,7 +37,7 @@
 FILES+=                data/zero.in
 
 t_regex.sh: t_regex.awk t_regex.in
-       ${TOOL_AWK} -f ${.CURDIR}/t_regex.awk ${.CURDIR}/t_regex.in > ${.TARGET}
+       ${TOOL_AWK} -f ${.ALLSRC} > ${.TARGET}
 
 CLEANFILES+= t_regex.sh
 



Home | Main Index | Thread Index | Old Index