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 Only update distrib/sets/lists/tests...
details: https://anonhg.NetBSD.org/src/rev/d7b643e61b95
branches: trunk
changeset: 369846:d7b643e61b95
user: sjg <sjg%NetBSD.org@localhost>
date: Sat Sep 03 15:03:32 2022 +0000
description:
Only update distrib/sets/lists/tests/mi with valid files
sync-mi: use CVS/Entries to ensure we only update
distrib/sets/lists/tests/mi with files known to CVS.
Reviewed by: rillig
diffstat:
usr.bin/make/unit-tests/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 4c392799359e -r d7b643e61b95 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile Sat Sep 03 10:03:20 2022 +0000
+++ b/usr.bin/make/unit-tests/Makefile Sat Sep 03 15:03:32 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.323 2022/09/02 18:54:25 sjg Exp $
+# $NetBSD: Makefile,v 1.324 2022/09/03 15:03:32 sjg Exp $
#
# Unit tests for make(1)
#
@@ -761,7 +761,8 @@
testsdir="usr.bin/make/unit-tests"; \
fmt="./usr/tests/$$testsdir/%s\ttests-usr.bin-tests\tcompattestfile,atf\\n"; \
cat "$$mi" > "$$mi.tmp"; \
- (cd "$$testsdir" && ls *.exp *.mk) | xargs printf "$$fmt" >> "$$mi.tmp"; \
+ (cd "$$testsdir" && egrep '\.(exp|mk)/' CVS/Entries | cut -d/ -f2) | \
+ xargs printf "$$fmt" >> "$$mi.tmp"; \
distrib/sets/fmt-list "$$mi.tmp"; \
mv "$$mi.tmp" "$$mi"; \
cvs diff "$$mi" || true
Home |
Main Index |
Thread Index |
Old Index