NetBSD/tests
mrg 832d47522a introduce new GCC 12 warning disables and use them in a few places
this introduces 4 new warning disable flags:

   CC_WNO_MISSING_TEMPLATE_KEYWORD
   CC_WNO_REGISTER
   CC_WNO_STRINGOP_OVERREAD
   CC_WNO_ARRAY_BOUNDS

and documents them in README.warnings.  of these, the string op
and array bounds are both problematic (real bugs) and also spurious
(not real bugs), and the other 2 are mostly temporary for older
3rd party code.

add some new uses of CC_WNO_STRINGOP_OVERFLOW.

fix m68k build for gallium and GCC 12.
2023-08-08 06:27:31 +00:00
..
bin Fix building the debugging tarball of the directory tree created for 2023-05-11 10:08:34 +00:00
crypto tests/crypto/opencrypto: test_asymfeat requires privileges. 2023-08-05 13:29:57 +00:00
dev audiotest: Appease GCC 12.3.0 -Wmisleading-indentation 2023-08-03 08:36:38 +00:00
fs fix typos in comments and one definition, mainly s/sucket/socket/. 2023-08-03 20:45:49 +00:00
games
include tests/include/t_paths: Test all paths, nonfatally. 2023-08-05 12:11:05 +00:00
ipf
kernel memfd(2): Run all tests; don't stop after the first failure. 2023-08-05 08:05:16 +00:00
lib introduce new GCC 12 warning disables and use them in a few places 2023-08-08 06:27:31 +00:00
libexec ld.elf_so: Add some known-answer tests for hash functions. 2023-07-30 09:22:02 +00:00
modules
net tests/net/inpcb: Tests require root. 2023-08-05 13:25:26 +00:00
rump t_etfs: Skip large_blk for system with page size > 8192 2023-08-03 03:21:56 +00:00
sbin
share
sys introduce new GCC 12 warning disables and use them in a few places 2023-08-08 06:27:31 +00:00
usr.bin tests/lint: show that portable mode depends on PTRDIFF_TSPEC 2023-08-07 22:30:38 +00:00
usr.sbin
Makefile
Makefile.inc tests: trim down the list of LIBRUMPBASE libraries 2023-04-24 20:35:49 +00:00
README
h_macros.h

README

$NetBSD: README,v 1.4 2012/05/18 15:36:21 jruoho Exp $

When adding new tests, please try to follow the following conventions.

1. For library routines, including system calls, the directory structure of
   the tests should follow the directory structure of the real source tree.
   For instance, interfaces available via the C library should follow:

	src/lib/libc/gen -> src/tests/lib/libc/gen
	src/lib/libc/sys -> src/tests/lib/libc/sys
	...

2. Equivalently, all tests for userland utilities should try to follow their
   location in the source tree. If this can not be satisfied, the tests for
   a utility should be located under the directory to which the utility is
   installed. Thus, a test for env(1) should go to src/tests/usr.bin/env.
   Likewise, a test for tcpdump(8) should be in src/tests/usr.sbin/tcpdump,
   even though the source code for the program is located under src/external.

3. Otherwise use your own discretion.