Home | History | Annotate | Download | only in tests
History log of /src/tests/Makefile
RevisionDateAuthorComments
 1.47  19-Aug-2023  christos Tests for the compat_linux inotify framework from GSoC 2023 (Theodore Preduta)
 1.46  21-May-2017  riastradh Remove MKCRYPTO option.

Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export. The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated. I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet... That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
 1.45  22-Jun-2015  matt Don't build tests that depend on RUMP if BSD_MK_COMPAT_FILE is defined.
 1.44  25-Feb-2013  jmmv Run tests in kyua-atf-compat if MKKYUA!=no.
 1.43  23-Feb-2013  jmmv Stop assuming that test programs and directories are the same thing during
Atffile generation.

This is needed to be able to generate Kyuafiles (coming later), as these
clearly differentiate between the definition of test programs and the
recursion into other subdirectories (or files).

In particular: rename ATFFILE_EXTRA_TPS to ATFFILE_EXTRA_SUBDIRS and
change the logic in bsd.test.mk to keep track of subdirectories aside from
_TESTS when creating the Atffile.
 1.42  23-Feb-2013  jmmv Register kyua-cli into the Atffile when MKKYUA!=no.
 1.41  19-Feb-2013  jmmv Auto-generate the top-level Atffile.

This fixes a problem in MKKYUA=no builds in which the kyua-testers
subdirectory in /usr/tests was created unconditionally and atf-run was
confused because such subdirectory didn't have an Atffile of its own.
(Due to the way our directory creation and file lists work, I'm not
sure it's possible to just not "install" the empty directory. But
that'd be an alternative to this.)

Auto-generating the Atffile causes it to only list the subdirectories
listed by the Makefile, which can vary depending on various MK* options.

Problem found by martin@.
 1.40  16-Feb-2013  jmmv Move tests for examples from tests/examples to tests/share/examples.

This is to match the layout of the installed and source files more closely.
While doing this, honor the MKSHARE variable, as the files these tests
validate are only installed when MKSHARE=yes.
 1.39  26-Aug-2012  jmmv branches: 1.39.2;
Add placeholder test programs for share/mk files.

The main goal of this change is to simplify the further addition of test
cases for the share/mk infrastructure by adding a few placeholder test
programs to the tests tree.

To not leave these test programs empty, I have added a bunch of extremely
simple test cases to them.
 1.38  08-Aug-2012  christos Exclude tests that use rump
 1.37  24-Mar-2012  matt Only descend into ipf if MKIPFILTER != "no"
 1.36  17-Mar-2012  jruoho Deprecate tests/toolchain.
 1.35  17-Mar-2012  jruoho Deprecate tests/util.
 1.34  12-Nov-2011  jmmv Add tests to ensure that the new asm examples build and run, just as the
end-user is supposed to work with them.
 1.33  21-Sep-2011  mrg branches: 1.33.2;
only decent into crypto/tests if ${MKCRYPTO} != "no". (sets are probably
also broken, but i didn't get that far yet.)
 1.32  07-Jul-2011  jruoho Remove syscall SUBDIR.
 1.31  15-Jun-2011  mrg evbppc can do modules now.
 1.30  24-Feb-2011  pooka branches: 1.30.2;
Add tests to check "cc" can compile a working hello world.
(this test fails at least on riz's macppc)
 1.29  03-Feb-2011  pooka add tests for the -d functionality of rump_server(1)
 1.28  07-Jan-2011  pgoyette branches: 1.28.2;
Avoid double-inclusion of bsd.subdir.mk file. This eliminates some harmlessnbut annoying warning messages.
 1.27  02-Jan-2011  pooka do the alphabet
 1.26  15-Dec-2010  haad Hook traceroute test case to build. it was added to lists so unbreak build now.
 1.25  08-Dec-2010  njoly Make tests set generation optional, skipped for MKATF=no build.
 1.24  30-Nov-2010  riz Add some basic tests of resize_ffs(8). The 'grow' test does nothing
more than create an empty file system, grow it, and makes sure fsck
finds the result clean. The 'shrink' test does likewise for shrinking,
but is an expected failure at the moment due to PR bin/44177.
 1.23  04-Aug-2010  pooka Add test of pad(4): stuff some audio into /dev/audio, read it from
/dev/pad. Test that we got sensible output by comparing against
a previous audibly good result.

This exercises auconv, audio and pad.
 1.22  17-Jul-2010  jmmv Convert the include tests to atf.
Initial work from the GSoC 2008 project by Lukasz Strzygowski.
 1.21  13-Jul-2010  jmmv Get rid of static Atffiles and let bsd.test.mk generate them on the fly.
 1.20  15-Mar-2010  jmmv Add some basic tests for rc.d scripts to validate the execution of
subcommands and the optional argument passing to them from the command
line.

Triggered by the modification of the run_rc_command function in rc.subr
to allow passing in extra parameters to the commands defined in rc.d
scripts.
 1.19  15-Dec-2009  mrg avoid most of the SUBDIRs if MKATF == "no".
 1.18  05-Nov-2009  dyoung Fix MKKMOD=no builds: in sets.subr, if $MKKMOD == no, leave the
modules set out of the list of NetBSD set lists, nlists. If
$MKKMOD == no, do not install modules tests.
 1.17  24-Sep-2009  pooka add regression tests for dlinfo()
 1.16  20-Jul-2009  joerg Add a fast, platform independent hash function to libc.
The algorithm used is the Jenkins hash. The name (mi_vector_hash)
reflects the nature of the hash function.
Add glue for libc ATF tests and include a test case to make sure that
(mis)alignment and endianess are handled correctly.

Bump libc minor to 169.
 1.15  02-May-2009  pooka add regression test for module init/fini in rump
 1.14  20-Feb-2009  jmmv Add the kernel-level tests developed by Lukasz Strzygowski as part of the
atfify GSoC 2008 project.
 1.13  13-Feb-2009  jmmv Convert libcrypto tests to ATF. Original work done by Lukasz Strzygowski
in the GSoC 2008 atfify project. Reorganization of files and build system
reworked by me.
 1.12  10-Feb-2009  pooka Add a regression test for the descriptor passing panic.
 1.11  19-Jan-2009  jmmv branches: 1.11.2;
Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
build it. 0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.
 1.10  08-Dec-2008  pooka Don't descend into modules on evbppc.. sigh
 1.9  16-Aug-2008  gmcgarry branches: 1.9.8;
Don't descend into atf with (${MKATF} == no)
 1.8  10-Feb-2008  jmmv branches: 1.8.6;
Descend into modules. This is unconditional; see the comment in
modules/Makefile for details about why it cannot depend on MKMODULAR.
 1.7  23-Dec-2007  jmmv branches: 1.7.2;
Add regression tests for low-port allocation in connect and listen, which
was broken and fixed recently in:
http://mail-index.netbsd.org/source-changes/2007/12/16/0011.html

Test-case code provided by elad@.
 1.6  21-Nov-2007  jmmv Explicitly define TESTSDIR, because the automatic deduction of its value
breaks the build if some component of NETBSDSRCDIR is a symlink. Reported
by drochner@.
 1.5  12-Nov-2007  jmmv Convert the regress/games tests to the atf

This change converts all the existing regression tests in regress/games
to the new framework provided by atf. As a side effect, this also moves
all the tests programs in regress/games to tests/games.
 1.4  12-Nov-2007  jmmv Convert the regress/sys/fs/tmpfs tests to the atf

This change converts all the existing regression tests in
regress/sys/fs/tmpfs to the new framework provided by atf. As a side
effect, this also moves all the tests programs in regress/sys/fs/tmpfs to
tests/fs/tmpfs.
 1.3  12-Nov-2007  jmmv Convert the regress/bin tests to the atf

This change converts all the existing regression tests in regress/bin to
the new framework provided by atf. As a side effect, this also moves all
the tests programs in regress/bin to tests/util, as they all belong to
utilities installed by the base-util-root package.
 1.2  12-Nov-2007  jmmv Add the atf tests

This adds reachover Makefiles to build and install the atf tests.
 1.1  12-Nov-2007  jmmv Add the tests.tgz set

This adds a new tests.tgz set to releases which includes all the tests
for the system. It is important to note that this set does not rely on
comp.tgz: a user of the system can run the tests without having the
development tools installed, which can be useful in a production machine.
 1.7.2.3  23-Mar-2008  matt sync with HEAD
 1.7.2.2  09-Jan-2008  matt sync with HEAD
 1.7.2.1  23-Dec-2007  matt file Makefile was added on branch matt-armv6 on 2008-01-09 01:59:02 +0000
 1.8.6.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.9.8.1  26-Aug-2009  matt Don't build net test when MKATF is no
 1.11.2.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.28.2.2  05-Mar-2011  bouyer Sync with HEAD
 1.28.2.1  08-Feb-2011  bouyer Sync with HEAD
 1.30.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.33.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.33.2.2  30-Oct-2012  yamt sync with head
 1.33.2.1  17-Apr-2012  yamt sync with head
 1.39.2.2  23-Jun-2013  tls resync from head
 1.39.2.1  25-Feb-2013  tls resync with head

RSS XML Feed