pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/regress/subst regress/subst: enable regression test



details:   https://anonhg.NetBSD.org/pkgsrc/rev/943c6c4b83db
branches:  trunk
changeset: 331366:943c6c4b83db
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Mar 17 10:19:36 2019 +0000

description:
regress/subst: enable regression test

diffstat:

 regress/subst/Makefile |  6 +++---
 regress/subst/spec     |  8 ++++++++
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r 17e795d3c8d7 -r 943c6c4b83db regress/subst/Makefile
--- a/regress/subst/Makefile    Sun Mar 17 08:40:33 2019 +0000
+++ b/regress/subst/Makefile    Sun Mar 17 10:19:36 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/04/09 00:47:12 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2019/03/17 10:19:36 rillig Exp $
 #
 
 DISTNAME=      subst-1.0
@@ -16,7 +16,7 @@
 SUBST_FILES.vars=      vars
 SUBST_VARS.vars=       PLAIN DQUOT SQUOT DELIM EVIL1
 
-.include "${.PARSEDIR}/vars.mk"
+.include "vars.mk"
 
 pre-build:
        for v in ${SUBST_VARS.vars}; do echo "$$v=@$$v@"; done > ${WRKSRC}/vars
@@ -25,6 +25,6 @@
        @${DO_NADA}
 
 post-build:
-       diff vars.mk ${WRKSRC}/vars
+       diff -u vars.mk ${WRKSRC}/vars
 
 .include "../../mk/bsd.pkg.mk"
diff -r 17e795d3c8d7 -r 943c6c4b83db regress/subst/spec
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/subst/spec        Sun Mar 17 10:19:36 2019 +0000
@@ -0,0 +1,8 @@
+# $NetBSD: spec,v 1.1 2019/03/17 10:19:36 rillig Exp $
+#
+
+MAKEARGS_CLEAN="clean"
+
+check_result() {
+       exit_status 0
+}



Home | Main Index | Thread Index | Old Index