pkgsrc-Changes archive

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

CVS commit: pkgsrc/regress/subst



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Mar 17 10:19:36 UTC 2019

Modified Files:
        pkgsrc/regress/subst: Makefile
Added Files:
        pkgsrc/regress/subst: spec

Log Message:
regress/subst: enable regression test


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/regress/subst/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/regress/subst/spec

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/regress/subst/Makefile
diff -u pkgsrc/regress/subst/Makefile:1.3 pkgsrc/regress/subst/Makefile:1.4
--- pkgsrc/regress/subst/Makefile:1.3   Thu Apr  9 00:47:12 2009
+++ pkgsrc/regress/subst/Makefile       Sun Mar 17 10:19:36 2019
@@ -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_STAGE.vars=     do-build
 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-build:
        @${DO_NADA}
 
 post-build:
-       diff vars.mk ${WRKSRC}/vars
+       diff -u vars.mk ${WRKSRC}/vars
 
 .include "../../mk/bsd.pkg.mk"

Added files:

Index: pkgsrc/regress/subst/spec
diff -u /dev/null pkgsrc/regress/subst/spec:1.1
--- /dev/null   Sun Mar 17 10:19:36 2019
+++ pkgsrc/regress/subst/spec   Sun Mar 17 10:19:36 2019
@@ -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