Source-Changes-HG archive

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

[src/trunk]: src/share/mk Add MKCOMPATTESTS knob to enable building and insta...



details:   https://anonhg.NetBSD.org/src/rev/63fb64f6060c
branches:  trunk
changeset: 338961:63fb64f6060c
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jun 19 18:13:52 2015 +0000

description:
Add MKCOMPATTESTS knob to enable building and installing the NetBSD test
suite as part of doing MKCOMPAT

diffstat:

 share/mk/bsd.README |  6 +++++-
 share/mk/bsd.own.mk |  6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r 344b8b81da1f -r 63fb64f6060c share/mk/bsd.README
--- a/share/mk/bsd.README       Fri Jun 19 17:33:20 2015 +0000
+++ b/share/mk/bsd.README       Fri Jun 19 18:13:52 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.README,v 1.343 2015/06/18 22:29:12 pooka Exp $
+#      $NetBSD: bsd.README,v 1.344 2015/06/19 18:13:52 matt Exp $
 #      @(#)bsd.README  8.2 (Berkeley) 4/2/94
 
 This is the README file for the make "include" files for the NetBSD
@@ -136,6 +136,10 @@
 MKCOMPAT       If "no", don't build or install the src/compat.
                Default: yes on amd64/mips64/sparc64, no elsewhere.
 
+MKCOMPATTESTS          If "yes", build and install the NetBSD test suite when
+               building and installing src/compat.
+               Default: no
+
 MKCOMPLEX      If "no", don't build libm support for <complex.h>
                Default: yes
 
diff -r 344b8b81da1f -r 63fb64f6060c share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Fri Jun 19 17:33:20 2015 +0000
+++ b/share/mk/bsd.own.mk       Fri Jun 19 18:13:52 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.854 2015/06/18 22:29:12 pooka Exp $
+#      $NetBSD: bsd.own.mk,v 1.855 2015/06/19 18:13:52 matt Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -1004,7 +1004,7 @@
 #
 _MKVARS.no= \
        MKBSDGREP MKBSDTAR \
-       MKCATPAGES MKCRYPTO_RC5 MKCTF MKDEBUG \
+       MKCATPAGES MKCOMPATTESTS MKCRYPTO_RC5 MKCTF MKDEBUG \
        MKDEBUGLIB MKDTRACE MKEXTSRC MKGROFFHTMLDOC \
        MKKYUA MKLLD MKLLDB MKLINT \
        MKMANZ MKMCLINKER MKOBJDIRS \
@@ -1428,6 +1428,6 @@
 TARGETS+=      lintmanpages
 .endif
 
-TESTSBASE=     /usr/tests
+TESTSBASE=     /usr/tests${MLIBDIR:D/${MLIBDIR}}
 
 .endif # !defined(_BSD_OWN_MK_)



Home | Main Index | Thread Index | Old Index