Thu Mar 3 20:03:19 2022 UTC ()
tests/make: test variant without filemon


(rillig)
diff -r1.1 -r1.2 src/usr.bin/make/test-variants.mk

cvs diff -r1.1 -r1.2 src/usr.bin/make/test-variants.mk (expand / switch to unified diff)

--- src/usr.bin/make/test-variants.mk 2022/02/05 00:20:48 1.1
+++ src/usr.bin/make/test-variants.mk 2022/03/03 20:03:19 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: test-variants.mk,v 1.1 2022/02/05 00:20:48 rillig Exp $ 1# $NetBSD: test-variants.mk,v 1.2 2022/03/03 20:03:19 rillig Exp $
2# 2#
3# Build several variants of make and run the tests on them. 3# Build several variants of make and run the tests on them.
4# 4#
5# The output of this test suite must be inspected manually to see the 5# The output of this test suite must be inspected manually to see the
6# interesting details. The main purpose is to list the available build 6# interesting details. The main purpose is to list the available build
7# options. 7# options.
8 8
9.MAIN: usage 9.MAIN: usage
10usage: 10usage:
11 @echo 'usage: ${MAKE} -f ${MAKEFILE} list' 11 @echo 'usage: ${MAKE} -f ${MAKEFILE} list'
12 @echo ' ${MAKE} -f ${MAKEFILE} all' 12 @echo ' ${MAKE} -f ${MAKEFILE} all'
13 @echo ' ${MAKE} -f ${MAKEFILE} test...' 13 @echo ' ${MAKE} -f ${MAKEFILE} test...'
14 14
@@ -36,26 +36,36 @@ ENV.gcc9= USE_GCC9="yes" @@ -36,26 +36,36 @@ ENV.gcc9= USE_GCC9="yes"
36# Use emalloc for memory allocation. 36# Use emalloc for memory allocation.
37TESTS+= emalloc 37TESTS+= emalloc
38ENV.emalloc= TOOLDIR="" 38ENV.emalloc= TOOLDIR=""
39 39
40# NetBSD 10 fails with: 40# NetBSD 10 fails with:
41# filemon_dev.c:93:19: error: 'FILEMON_SET_FD' undeclared 41# filemon_dev.c:93:19: error: 'FILEMON_SET_FD' undeclared
42TESTS+= filemon-dev 42TESTS+= filemon-dev
43ENV.filemon-dev= USE_FILEMON="dev" 43ENV.filemon-dev= USE_FILEMON="dev"
44SKIP.filemon-dev= yes 44SKIP.filemon-dev= yes
45 45
46TESTS+= filemon-ktrace 46TESTS+= filemon-ktrace
47ENV.filemon-ktrace= USE_FILEMON="ktrace" 47ENV.filemon-ktrace= USE_FILEMON="ktrace"
48 48
 49TESTS+= filemon-none
 50ENV.filemon-none= USE_FILEMON="no"
 51# The following tests only fail due to the extra variable in the debug log.
 52SKIP_TESTS.filemon-none= \
 53 opt-debug-graph1 \
 54 opt-debug-graph2 \
 55 opt-debug-graph3 \
 56 suff-main-several \
 57 suff-transform-debug
 58
49TESTS+= no-meta 59TESTS+= no-meta
50ENV.no-meta= USE_META="no" 60ENV.no-meta= USE_META="no"
51SKIP_TESTS.no-meta= depsrc-meta meta-cmd-cmp 61SKIP_TESTS.no-meta= depsrc-meta meta-cmd-cmp
52 62
53TESTS+= cleanup 63TESTS+= cleanup
54CPPFLAGS.cleanup= -DCLEANUP 64CPPFLAGS.cleanup= -DCLEANUP
55 65
56TESTS+= debug-refcnt 66TESTS+= debug-refcnt
57CPPFLAGS.debug-refcnt= -DDEBUG_REFCNT 67CPPFLAGS.debug-refcnt= -DDEBUG_REFCNT
58 68
59TESTS+= debug-hash 69TESTS+= debug-hash
60CPPFLAGS.debug-hash= -DDEBUG_HASH_LOOKUP 70CPPFLAGS.debug-hash= -DDEBUG_HASH_LOOKUP
61SKIP_TESTS.debug-hash= opt-debug-hash # mixes regular and debug output 71SKIP_TESTS.debug-hash= opt-debug-hash # mixes regular and debug output