<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/test/README, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-12-02T10:41:11Z</updated>
<entry>
<title>tools: add arc4random_uniform() bias test</title>
<updated>2024-12-02T10:41:11Z</updated>
<author>
<name>Robert Clausecker</name>
<email>fuz@FreeBSD.org</email>
</author>
<published>2024-11-27T17:37:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4a0fc138e5eb343e45388e66698a4765b308a622'/>
<id>urn:sha1:4a0fc138e5eb343e45388e66698a4765b308a622</id>
<content type='text'>
This test program executed arc4random_uniform() repeatedly and
analyzes the distribution of return values, showing how similar
the parameters of the observed outcome are to the expected
parameters of an equidistribution.

This cannot be a unit test as it takes quite a while to run and
lots of memory (~3 GB) to execute.

Reviewed by:	cem
Approved by:	emaste
Differential Revision:	https://reviews.freebsd.org/D47659
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line bare tag</title>
<updated>2023-08-16T17:55:20Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05248206f720394d95c2a7475429311df670a2e9'/>
<id>urn:sha1:05248206f720394d95c2a7475429311df670a2e9</id>
<content type='text'>
Remove /^\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>stress2:	 Initial import</title>
<updated>2021-03-03T14:11:40Z</updated>
<author>
<name>Peter Holm</name>
<email>pho@FreeBSD.org</email>
</author>
<published>2021-03-03T12:56:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a272653d9fbd9fc37691c9aad6a05089b4ecb4d'/>
<id>urn:sha1:8a272653d9fbd9fc37691c9aad6a05089b4ecb4d</id>
<content type='text'>
Discussed with:	 kib
</content>
</entry>
<entry>
<title>Provide userland notification of gpio pin changes ("userland gpio interrupts").</title>
<updated>2020-12-12T18:34:15Z</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2020-12-12T18:34:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ff3468ac94597efdcbc56f372528dfc98b114dac'/>
<id>urn:sha1:ff3468ac94597efdcbc56f372528dfc98b114dac</id>
<content type='text'>
This is an import of the Google Summer of Code 2018 project completed by
Christian Kramer (and, sadly, ignored by us for two years now).  The goals
stated for that project were:

    FreeBSD already has support for interrupts implemented in the GPIO
    controller drivers of several SoCs, but there are no interfaces to take
    advantage of them out of user space yet. The goal of this work is to
    implement such an interface by providing descriptors which integrate
    with the common I/O system calls and multiplexing mechanisms.

The initial imported code supports the following functionality:

 -  A kernel driver that provides an interface to the user space; the
    existing gpioc(4) driver was enhanced with this functionality.
 -  Implement support for the most common I/O system calls / multiplexing
    mechanisms:
     -  read() Places the pin number on which the interrupt occurred in the
        buffer. Blocking and non-blocking behaviour supported.
     -	poll()/select()
     -	kqueue()
     -	signal driven I/O. Posting SIGIO when the O_ASYNC was set.
 -  Many-to-many relationship between pins and file descriptors.
     -  A file descriptor can monitor several GPIO pins.
     -  A GPIO pin can be monitored by multiple file descriptors.
 -  Integration with gpioctl and libgpio.

I added some fixes (mostly to locking) and feature enhancements on top of
the original gsoc code.  The feature ehancements allow the user to choose
between detailed and summary event reporting.  Detailed reporting provides
a record describing each pin change event.  Summary reporting provides the
time of the first and last change of each pin, and a count of how many times
it changed state since the last read(2) call.  Another enhancement allows
the recording of multiple state change events on multiple pins between each
call to read(2) (the original code would track only a single event at a time).

The phabricator review for these changes timed out without approval, but I
cite it below anyway, because the review contains a series of diffs that
show how I evolved the code from its original state in Christian's github
repo for the gsoc project to what is being commited here.  (In effect,
the phab review extends the VC history back to the original code.)

Submitted by:	Christian Kramer
Obtained from:	https://github.com/ckraemer/freebsd/tree/gsoc2018
Differential Revision:	https://reviews.freebsd.org/D27398
</content>
</entry>
<entry>
<title>Fix spelling and grammer in tools/test/README.</title>
<updated>2015-10-28T15:00:21Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2015-10-28T15:00:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9300da1d3d559da5a6e1ca29d2878c9250669aaf'/>
<id>urn:sha1:9300da1d3d559da5a6e1ca29d2878c9250669aaf</id>
<content type='text'>
Reviewed by:	gnn
</content>
</entry>
<entry>
<title>Update the README to describe all the current tests in this directory.</title>
<updated>2015-10-28T03:39:18Z</updated>
<author>
<name>George V. Neville-Neil</name>
<email>gnn@FreeBSD.org</email>
</author>
<published>2015-10-28T03:39:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f12bed1cdac50bb2402aed914c8e45904e13658'/>
<id>urn:sha1:9f12bed1cdac50bb2402aed914c8e45904e13658</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the old DTrace test suite makefile - it was somewhat primitive and</title>
<updated>2015-02-28T23:35:29Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2015-02-28T23:35:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1e28e010e40f6be43a82af1a989d1d9b9cc8931e'/>
<id>urn:sha1:1e28e010e40f6be43a82af1a989d1d9b9cc8931e</id>
<content type='text'>
mostly unmaintained, and it has been superseded by the infrastructure added
in r279418.

Reviewed by:	ngie
Sponsored by:	EMC / Isilon Storage Divison
</content>
</entry>
<entry>
<title>Add regression tests scripts for multi-IP FIBs exercising the send,</title>
<updated>2012-02-17T04:26:24Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2012-02-17T04:26:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d3373029e29b8aebb412f99efbd03cd4fbb853d9'/>
<id>urn:sha1:d3373029e29b8aebb412f99efbd03cd4fbb853d9</id>
<content type='text'>
receive and forward path tagging packets with both the ifconfig fib
option or using ipfw, running ICMP6, TCP/v6 and UDP/v6 tests and
testing both setfib(2) as well as the SO_SETFIB socket option.

At 16 FIBs a total of over 64k return codes/replies/stati are checked,
sometimes multiple times (in different ways, e.g. the reflected request
as well as ipfw counter values).

The scripts need two or three machines to run and are thus not added
to the tools/regression framework but only to tools/test.

Sponsored by:	Cisco Systems, Inc.
</content>
</entry>
<entry>
<title>Add a TestFloat based test suite for floating-point implementations</title>
<updated>2010-04-24T12:11:41Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-04-24T12:11:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b09fefd1f6900e5df435e4bd1942f384755e5185'/>
<id>urn:sha1:b09fefd1f6900e5df435e4bd1942f384755e5185</id>
<content type='text'>
currently supporting sparc64. After a `make depend all` there are
three programs; testsoftfloat for testing against the SoftFloat in
src/lib/libc/softfloat for reference purposes, testemufloat for
testing the emulator source in src/lib/libc/sparc64/fpu and testfloat
for testing with the installed libc. Support for other architectures
can be added as needed.

PR:		144900
Submitted by:	Peter Jeremy
</content>
</entry>
<entry>
<title>Add the DTrace test makefile for the test suite distributed in OpenSolaris.</title>
<updated>2008-05-17T02:09:48Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>2008-05-17T02:09:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a12be0b9eb43394d8be9d5b134efcb233851a943'/>
<id>urn:sha1:a12be0b9eb43394d8be9d5b134efcb233851a943</id>
<content type='text'>
</content>
</entry>
</feed>
