<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/bin/Makefile, branch releng/11.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F11.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F11.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2017-09-08T04:46:55Z</updated>
<entry>
<title>MFC r320701:</title>
<updated>2017-09-08T04:46:55Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-09-08T04:46:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=281d3045a3b0e252fad9d916f2d739b149056254'/>
<id>urn:sha1:281d3045a3b0e252fad9d916f2d739b149056254</id>
<content type='text'>
Remove SUBDIR ordering/uniquifying in *bin/Makefile

After the addition of SUBDIR.yes, uniquifying/ordering the SUBDIRs doesn't
make a whole lot of sense, and it's in effect a half measure.

Ordering SUBDIR (after adding SUBDIR.yes to it) in bsd.subdir.mk is a
separate change that warrants more discussion/testing, because while
the SUBDIR_PARALLEL work largely fixed dependency ordering for SUBDIRs,
there might be downstream FreeBSD consumers that rely on the SUBDIR
ordering.
</content>
</entry>
<entry>
<title>Start using the fact that SUBDIR.yes is added to SUBDIR</title>
<updated>2015-10-05T21:41:55Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2015-10-05T21:41:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3a845236dfd3863399c5407ca12fd3332f98d83a'/>
<id>urn:sha1:3a845236dfd3863399c5407ca12fd3332f98d83a</id>
<content type='text'>
and move from the pattern of:

.if ${MK_FOO} != "no"
SUBDIR+= bar
.endif

to

SUBDIR.${MK_FOO}+= bar

since we know that MK_FOO is always either yes or no and the latter
form is easier to follow and much shorter. Various exception to this
pattern dealt with on an ah-hoc basis.

Discussed on arch@ a while ago.
</content>
</entry>
<entry>
<title>Use src.opts.mk in preference to bsd.own.mk except where we need stuff</title>
<updated>2014-05-06T04:22:01Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2014-05-06T04:22:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c6063d0da8e1f8d8452b0c2ee1c7ad718c1a7052'/>
<id>urn:sha1:c6063d0da8e1f8d8452b0c2ee1c7ad718c1a7052</id>
<content type='text'>
from the latter.
</content>
</entry>
<entry>
<title>Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process</title>
<updated>2014-03-26T22:30:38Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2014-03-26T22:30:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=54ff5d7323e6b110e8796cdd412a39b7d13fb66d'/>
<id>urn:sha1:54ff5d7323e6b110e8796cdd412a39b7d13fb66d</id>
<content type='text'>
all the SUBDIR entries in parallel, instead of serially.  Apply this
option to a selected number of Makefiles, which can greatly speed up the
build on multi-core machines, when using make -j.

This can be extended to more Makefiles later on, whenever they are
verified to work correctly with parallel building.

I tested this on a 24-core machine, with make -j48 buildworld (N = 6):

                before    stddev       after    stddev
                =======   ======       =======  ======
real time        1741.1     16.5         959.8     2.7
user time       12468.7     16.4       14393.0    16.8
sys  time        1825.0     54.8        2110.6    22.8

(user+sys)/real     8.2                   17.1

E.g. the build was approximately 45% faster in real time.  On machines
with less cores, or with lower -j settings, the speedup will not be as
impressive.  But at least you can now almost max out a machine with
buildworld!

Submitted by:	jilles
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Migrate tools/regression/bin/ tests to the new layout.</title>
<updated>2013-12-11T04:09:17Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2013-12-11T04:09:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=13de33a5dc2304b13d595d75d48c51793958474f'/>
<id>urn:sha1:13de33a5dc2304b13d595d75d48c51793958474f</id>
<content type='text'>
This change is a proof of concept on how to easily integrate existing
tests from the tools/regression/ hierarchy into the /usr/tests/ test
suite and on how to adapt them to the new layout for src.

To achieve these goals, this change:

- Moves tests from tools/regression/bin/&lt;tool&gt;/ to bin/&lt;tool&gt;/tests/.
- Renames the previous regress.sh files to legacy_test.sh.
- Adds Makefiles to build and install the tests and all their supporting
  data files into /usr/tests/bin/.
- Plugs the legacy_test test programs into the test suite using the new
  TAP backend for Kyua (appearing in 0.8) so that the code of the test
  programs does not have to change.
- Registers the new directories in the BSD.test.dist mtree file.

Reviewed by:	freebsd-testing
Approved by:	rpaulo (mentor)
</content>
</entry>
<entry>
<title>By popular demand, move freebsd-version(1) from /libexec to /bin.</title>
<updated>2013-10-09T20:47:20Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2013-10-09T20:47:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5f3850777ee8731079cf7e375a90c10ec7a12058'/>
<id>urn:sha1:5f3850777ee8731079cf7e375a90c10ec7a12058</id>
<content type='text'>
Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>Merge from tbemd:</title>
<updated>2010-09-13T01:29:51Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2010-09-13T01:29:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9768ccae056d693c0ab571a02d16d57ce8785c88'/>
<id>urn:sha1:9768ccae056d693c0ab571a02d16d57ce8785c88</id>
<content type='text'>
Add directory names directly and sort at the end.
Include bsd.arch.inc.mk so we can, in the future, more easily make arch
dependent changes in /bin (unlikely, but is needed for symmetry).
</content>
</entry>
<entry>
<title>Add pwait utility, which waits for any process to terminate.</title>
<updated>2009-11-17T22:47:20Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2009-11-17T22:47:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0e5e4167809165c2be4f8ddd88aa8a4084c7e02d'/>
<id>urn:sha1:0e5e4167809165c2be4f8ddd88aa8a4084c7e02d</id>
<content type='text'>
This is similar to the Solaris utility of the same name.

Some use cases:
* rc.subr's wait_for_pids
* interactive use, e.g. to shut down the computer when some task is done
  even if the task is already running

Discussed on:	hackers@
</content>
</entry>
<entry>
<title>pkill(1) first appeared in /usr/bin, but later it was moved to /bin</title>
<updated>2008-08-31T14:27:59Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2008-08-31T14:27:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=21be3b318337f81324d33fcdd361482058b9bafb'/>
<id>urn:sha1:21be3b318337f81324d33fcdd361482058b9bafb</id>
<content type='text'>
for the convenience of rc.d.  Now it has happily lived there for quite
a while.  So move the pkill(1) source files from usr.bin to bin, too.

Approved by:	gad
</content>
</entry>
<entry>
<title>uuidgen has been repo-copied from usr.bin/ to bin/ to match its "new"</title>
<updated>2008-03-13T17:38:06Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2008-03-13T17:38:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8757b00e1e06595ab72330e703f78b601a8e1c2c'/>
<id>urn:sha1:8757b00e1e06595ab72330e703f78b601a8e1c2c</id>
<content type='text'>
(2007/04/09) installation location.
</content>
</entry>
</feed>
