Tue Jul 28 16:11:55 2020 UTC ()
make(1): disable archive test

On FreeBSD, running the archive.mk test results in "create-archive is up
to date" and similar messages.  The situation is unclear, and the
archive code seems to be practically unused.  Furthermore the archive
test doesn't ensure that it is run in ${.PARSEDIR}, so it needs a bit
more work.


(rillig)
diff -r1.71 -r1.72 src/usr.bin/make/unit-tests/Makefile

cvs diff -r1.71 -r1.72 src/usr.bin/make/unit-tests/Makefile (expand / switch to unified diff)

--- src/usr.bin/make/unit-tests/Makefile 2020/07/28 00:48:00 1.71
+++ src/usr.bin/make/unit-tests/Makefile 2020/07/28 16:11:55 1.72
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.71 2020/07/28 00:48:00 sjg Exp $ 1# $NetBSD: Makefile,v 1.72 2020/07/28 16:11:55 rillig Exp $
2# 2#
3# Unit tests for make(1) 3# Unit tests for make(1)
4# 4#
5# The main targets are: 5# The main targets are:
6# 6#
7# all: 7# all:
8# run all the tests 8# run all the tests
9# test: 9# test:
10# run 'all', and compare to expected results 10# run 'all', and compare to expected results
11# accept: 11# accept:
12# move generated output to expected results 12# move generated output to expected results
13# 13#
14# Settable variables 14# Settable variables
@@ -20,27 +20,27 @@ @@ -20,27 +20,27 @@
20# Adding a test case 20# Adding a test case
21# 21#
22# Each feature should get its own set of tests in its own suitably 22# Each feature should get its own set of tests in its own suitably
23# named makefile (*.mk), with its own set of expected results (*.exp), 23# named makefile (*.mk), with its own set of expected results (*.exp),
24# and it should be added to the TESTS list. 24# and it should be added to the TESTS list.
25# 25#
26# Any added files must also be added to src/distrib/sets/lists/tests/mi. 26# Any added files must also be added to src/distrib/sets/lists/tests/mi.
27# Makefiles that are not added to TESTS must be ignored in 27# Makefiles that are not added to TESTS must be ignored in
28# src/tests/usr.bin/make/t_make.sh (example: include-sub). 28# src/tests/usr.bin/make/t_make.sh (example: include-sub).
29# 29#
30 30
31# Each test is in a sub-makefile. 31# Each test is in a sub-makefile.
32# Keep the list sorted. 32# Keep the list sorted.
33TESTS+= archive 33TESTS+= # archive # broken on FreeBSD
34TESTS+= comment 34TESTS+= comment
35TESTS+= cond-late 35TESTS+= cond-late
36TESTS+= cond-short 36TESTS+= cond-short
37TESTS+= cond1 37TESTS+= cond1
38TESTS+= cond2 38TESTS+= cond2
39TESTS+= directives 39TESTS+= directives
40TESTS+= dollar 40TESTS+= dollar
41TESTS+= doterror 41TESTS+= doterror
42TESTS+= dotwait 42TESTS+= dotwait
43TESTS+= envfirst 43TESTS+= envfirst
44TESTS+= error 44TESTS+= error
45TESTS+= # escape # broken by reverting POSIX changes 45TESTS+= # escape # broken by reverting POSIX changes
46TESTS+= export 46TESTS+= export