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 tests/make: remove test varquote



details:   https://anonhg.NetBSD.org/src/rev/ae4b138cf3b4
branches:  trunk
changeset: 366002:ae4b138cf3b4
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun May 08 10:20:49 2022 +0000

description:
tests/make: remove test varquote

The test varmod-quote-dollar covers the same topic.

diffstat:

 distrib/sets/lists/tests/mi          |   6 +++---
 usr.bin/make/unit-tests/Makefile     |   3 +--
 usr.bin/make/unit-tests/varquote.exp |   3 ---
 usr.bin/make/unit-tests/varquote.mk  |  14 --------------
 4 files changed, 4 insertions(+), 22 deletions(-)

diffs (62 lines):

diff -r d5eaa336b093 -r ae4b138cf3b4 distrib/sets/lists/tests/mi
--- a/distrib/sets/lists/tests/mi       Sun May 08 10:14:40 2022 +0000
+++ b/distrib/sets/lists/tests/mi       Sun May 08 10:20:49 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1202 2022/05/08 06:51:27 rillig Exp $
+# $NetBSD: mi,v 1.1203 2022/05/08 10:20:49 rillig Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -6201,8 +6201,8 @@
 ./usr/tests/usr.bin/make/unit-tests/varparse-mod.mk                            tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/varparse-undef-partial.exp                 tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/varparse-undef-partial.mk                  tests-usr.bin-tests     compattestfile,atf
-./usr/tests/usr.bin/make/unit-tests/varquote.exp                               tests-usr.bin-tests     compattestfile,atf
-./usr/tests/usr.bin/make/unit-tests/varquote.mk                                        tests-usr.bin-tests     compattestfile,atf
+./usr/tests/usr.bin/make/unit-tests/varquote.exp                               tests-obsolete          obsolete,atf
+./usr/tests/usr.bin/make/unit-tests/varquote.mk                                        tests-obsolete          obsolete,atf
 ./usr/tests/usr.bin/make/unit-tests/varshell.exp                               tests-obsolete          obsolete
 ./usr/tests/usr.bin/make/unit-tests/varshell.mk                                        tests-obsolete          obsolete
 ./usr/tests/usr.bin/mixerctl                           tests-usr.bin-tests     compattestfile,atf
diff -r d5eaa336b093 -r ae4b138cf3b4 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Sun May 08 10:14:40 2022 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Sun May 08 10:20:49 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.314 2022/05/08 06:51:27 rillig Exp $
+# $NetBSD: Makefile,v 1.315 2022/05/08 10:20:49 rillig Exp $
 #
 # Unit tests for make(1)
 #
@@ -437,7 +437,6 @@
 TESTS+=                varparse-errors
 TESTS+=                varparse-mod
 TESTS+=                varparse-undef-partial
-TESTS+=                varquote
 
 # Some tests just do not work on some platforms or environments
 # so allow for some filtering.
diff -r d5eaa336b093 -r ae4b138cf3b4 usr.bin/make/unit-tests/varquote.exp
--- a/usr.bin/make/unit-tests/varquote.exp      Sun May 08 10:14:40 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
--fdebug-prefix-map=$NETBSDSRCDIR=/usr/src -fdebug-regex-map=/usr/src/(.*)/obj$=/usr/obj/\1
--fdebug-prefix-map=$NETBSDSRCDIR=/usr/src -fdebug-regex-map=/usr/src/(.*)/obj$=/usr/obj/\1
-exit status 0
diff -r d5eaa336b093 -r ae4b138cf3b4 usr.bin/make/unit-tests/varquote.mk
--- a/usr.bin/make/unit-tests/varquote.mk       Sun May 08 10:14:40 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-# $NetBSD: varquote.mk,v 1.5 2021/12/28 10:47:00 rillig Exp $
-#
-# Test VAR:q modifier
-
-.if !defined(REPROFLAGS)
-REPROFLAGS+=   -fdebug-prefix-map=\$$NETBSDSRCDIR=/usr/src
-REPROFLAGS+=   -fdebug-regex-map='/usr/src/(.*)/obj$$=/usr/obj/\1'
-all:
-       @${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:S/\$/&&/g:Q}
-       @${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:q}
-.else
-all:
-       @printf "%s %s\n" ${REPROFLAGS}
-.endif



Home | Main Index | Thread Index | Old Index