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 make(1): disable the sync-mi conveni...



details:   https://anonhg.NetBSD.org/src/rev/517c6b7d3422
branches:  trunk
changeset: 937839:517c6b7d3422
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Aug 28 02:45:51 2020 +0000

description:
make(1): disable the sync-mi convenience target

diffstat:

 usr.bin/make/unit-tests/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r de15a3a6486f -r 517c6b7d3422 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Fri Aug 28 00:19:37 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Fri Aug 28 02:45:51 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.120 2020/08/27 19:00:17 rillig Exp $
+# $NetBSD: Makefile,v 1.121 2020/08/28 02:45:51 rillig Exp $
 #
 # Unit tests for make(1)
 #
@@ -466,6 +466,9 @@
        $$1 == linestart "/Makefile" { system(cmd) }
 
 sync-mi:
+       # Obsolete entries in the mi file must be marked as obsolete,
+       # the lines must be preserved instead of just being deleted.
+       @echo "$@: Doesn't work right now." 1>&2; exit 1
        @set -eu;                                                       \
        cd "${MAKEFILE:tA:H}/../../..";                                 \
        mi="distrib/sets/lists/tests/mi";                               \



Home | Main Index | Thread Index | Old Index