History log of /src/tests/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.47 19-Aug-2023 christos

Tests for the compat_linux inotify framework from GSoC 2023 (Theodore Preduta)


Revision tags: netbsd-10-1-RELEASE netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 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.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.45 22-Jun-2015 matt

Don't build tests that depend on RUMP if BSD_MK_COMPAT_FILE is defined.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base tls-maxphys-base
# 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.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
# 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


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4
# 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.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 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.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 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.


Revision tags: cherry-xenmp-base bouyer-quota2-nbase
# 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)


Revision tags: bouyer-quota2-base
# 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.


Revision tags: matt-mips64-premerge-20101231
# 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".


Revision tags: matt-premerge-20091211
# 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.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 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


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.9 16-Aug-2008 gmcgarry

branches: 1.9.8;
Don't descend into atf with (${MKATF} == no)


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase hpcarm-cleanup-base keiichi-mipv6-base matt-armv6-nbase
# 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.


Revision tags: matt-armv6-base
# 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@.


Revision tags: cube-autoconf-base
# 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.