Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make/unit-tests Add nofilemon to meta mode tests



details:   https://anonhg.NetBSD.org/src/rev/b7e5f31a8555
branches:  trunk
changeset: 362482:b7e5f31a8555
user:      sjg <sjg%NetBSD.org@localhost>
date:      Wed Mar 02 19:32:15 2022 +0000

description:
Add nofilemon to meta mode tests

The unit-tests for meta mode do not depend on filemon.
Adding nofilemon to .MAKE.MODE allows these to pass on
a system that would use filemon_dev but does not have
the module loaded.

diffstat:

 usr.bin/make/unit-tests/depsrc-meta.mk  |  4 ++--
 usr.bin/make/unit-tests/meta-cmd-cmp.mk |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 53dc667a58e8 -r b7e5f31a8555 usr.bin/make/unit-tests/depsrc-meta.mk
--- a/usr.bin/make/unit-tests/depsrc-meta.mk    Wed Mar 02 07:48:20 2022 +0000
+++ b/usr.bin/make/unit-tests/depsrc-meta.mk    Wed Mar 02 19:32:15 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: depsrc-meta.mk,v 1.6 2022/01/26 22:47:03 rillig Exp $
+# $NetBSD: depsrc-meta.mk,v 1.7 2022/03/02 19:32:15 sjg Exp $
 #
 # Tests for the special source .META in dependency declarations.
 
@@ -9,7 +9,7 @@
 
 .if make(actual-test)
 .MAKEFLAGS: -dM
-.MAKE.MODE=    meta curDirOk=true
+.MAKE.MODE=    meta curDirOk=true nofilemon
 .endif
 
 actual-test: depsrc-meta-target
diff -r 53dc667a58e8 -r b7e5f31a8555 usr.bin/make/unit-tests/meta-cmd-cmp.mk
--- a/usr.bin/make/unit-tests/meta-cmd-cmp.mk   Wed Mar 02 07:48:20 2022 +0000
+++ b/usr.bin/make/unit-tests/meta-cmd-cmp.mk   Wed Mar 02 19:32:15 2022 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: meta-cmd-cmp.mk,v 1.5 2022/02/09 21:09:24 rillig Exp $
+# $NetBSD: meta-cmd-cmp.mk,v 1.6 2022/03/02 19:32:15 sjg Exp $
 #
 # Tests META_MODE command line comparison
 #
 
 .MAIN: all
 
-.MAKE.MODE= meta verbose silent=yes curdirok=yes
+.MAKE.MODE= meta verbose silent=yes curdirok=yes nofilemon
 tf:= .${.PARSEFILE:R}
 
 .if ${.TARGETS:Nall} == ""



Home | Main Index | Thread Index | Old Index