Commit Graph

715 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav
a073697081 Add powerpc, which should build cleanly now. 2004-01-24 14:30:40 +00:00
Dag-Erling Smørgrav
fbedaa8f05 Document the CVSUP and REPOSITORY configuration variables. 2004-01-23 23:06:40 +00:00
Dag-Erling Smørgrav
522bf11452 Add support for tinderbox.pl's --cvsup and --repository options.
Sort %CONFIG.
2004-01-23 23:06:14 +00:00
Dag-Erling Smørgrav
62274a0b18 Document cvsup support. 2004-01-23 23:04:38 +00:00
Dag-Erling Smørgrav
50d573dfc2 Add support for using cvsup instead of cvs to update the source tree.
Fix the "clean" command: don't try to rmdir symlinks, and run chflags
before trying to delete the chroot tree.
Tweak some error and info messages.
2004-01-23 23:04:26 +00:00
Warner Losh
e6fb5181c4 Remove references to cryptotest 2004-01-22 05:57:48 +00:00
Warner Losh
60cfb6bcd7 Theo de Raadt has brought to our attention that he wrote at least part
file and that he has not released it under a free license.  Until the
matter can be resolved, honor his claim and remove it.

PR: misc/61676
2004-01-21 16:44:49 +00:00
David Schultz
575f4d3239 Add regression tests for printf's %a/%A formats.
While here, disable some of the long double tests on i386, since
FreeBSD/i386 is the only port that doesn't evaluate long doubles in
their full precision (due to constant folding bugs in gcc).
2004-01-19 05:59:07 +00:00
David Schultz
24f285966e Add regression tests for some of the bugs recently discovered in the
vendor's strtod() implementation.

While here, disable some of the long double tests on i386, since
FreeBSD/i386 is the only port that doesn't evaluate long doubles in
their full precision (due to constant folding bugs in gcc).
2004-01-19 05:30:56 +00:00
David Schultz
e5524baebf Work around a recently-introduced gcc bug. The compiler no longer
accepts certain floating point constant representations that are
legal in C99.
2004-01-18 07:06:21 +00:00
Dag-Erling Smørgrav
0f2f05821a Add ${IMAGES} to CLEANFILES. 2004-01-11 19:05:48 +00:00
Dag-Erling Smørgrav
0b6e836294 Store binary files in uuencoded form. 2004-01-11 19:00:04 +00:00
Bruce M Simpson
27faa39960 Add pirtool, a tool for dumping the $PIR table on i386 machines at runtime.
Requested by:	mdodd
2004-01-06 20:59:49 +00:00
Greg Lehey
a783ff949c Rename "msgbuf" to "dmesg", a more easily remembered name.
"Fix" documentation by removing periods and commas.
2003-12-31 00:37:24 +00:00
Greg Lehey
e1e5f8baf2 Remove calls to 'y' macro. 2003-12-30 02:08:29 +00:00
Greg Lehey
1cff4d0c1f Remove current implementation of kldstat macro.
Add new kldstat, kldstat-v and kernel macros.  The kldstat macro is
functionally equivalent to the previous implementation, but it looks
prettier and it matches the kldstat-v macro better.  kldstat-v gives
output similar to userland kldstat -v (note lacking space), and kernel
loads a new kernel and dump.

Submitted by:	des
2003-12-30 01:23:16 +00:00
Greg Lehey
410b51e72b Add documentation for previously undocumented macros, and correct
existing documentation.  This is not made any easier by the
brain-damaged format required for the documentation: one line, no full
stops or commas.
2003-12-29 06:38:27 +00:00
Greg Lehey
8454e168a9 Add documentation for previously undocumented macros. This is not
made any easier by the brain-damaged format required for the
documentation: one line, no full stops or commas.

Remove macro xy.  I can't see any use for it any more.
2003-12-29 06:37:11 +00:00
Greg Lehey
747ca5f521 Add comments to deter people from using this file directly. That's
not the intention.

Rearrange "you may want to change these values" values to the top, and
reduce their number as much as possible.

tr macro: Require a parameter (because gdb is too stupid to understand
optional parameters), and create macros tr0, tr1 and trf which call it
to connect to /dev/cuaa0, /dev/cuaa1 and firewire connections
respectively.

Split kld symbol load into two separate macros: revision 1.5
simplified things for the /dev/mem case, but broke it for anything
else.  Now the simple /dev/mem version is called kldsyms, and the
version for serial debugging and processor dumps is called getsyms,
and still requires this irritating cut and paste.

Change comments on startup to make life easier for the poor
(de)bugger.
2003-12-29 06:35:14 +00:00
Greg Lehey
0fa02ea5f7 Explain what all this is about. 2003-12-22 00:01:53 +00:00
Dag-Erling Smørgrav
3b64ed3a59 Revert the last two commits. It seems that compat mode is actually faster
than non-compat (using -j1), though reading the make(1) sources suggests
that the opposite is true.
2003-12-12 12:03:59 +00:00
Dag-Erling Smørgrav
194c3cd492 Don't pass -P option to make(1) as it confuses the error detection logic. 2003-12-11 16:54:42 +00:00
Dag-Erling Smørgrav
e8064dd1a8 Always pass -j to make(1), even when we only want one job. It disables
compat mode and hopefully improves tinderbox performance.
2003-12-11 16:49:34 +00:00
Dag-Erling Smørgrav
801e29bd96 PowerPC doesn't need NOLIBC_R and NOFORTH (and hasn't for quite a while now) 2003-12-11 13:29:48 +00:00
Dag-Erling Smørgrav
bf063e8c94 Install experimental.rc as well. 2003-12-11 13:28:07 +00:00
Poul-Henning Kamp
3d9368b2d0 Add a small program to test/measure with the RFC 2783 API for timing
external signals.
2003-12-08 20:49:40 +00:00
Sam Leffler
236d9d937d add install rule 2003-12-07 21:42:40 +00:00
Sam Leffler
35d8be69e3 o report 0 instead of -1 for xmit rate when in transition
o report rssi in running display
o futz with column widths in running display
2003-12-07 21:40:52 +00:00
Sam Leffler
db511d2fff fix comment 2003-12-07 21:38:28 +00:00
Dag-Erling Smørgrav
5494e1fa10 Log all results to a history file in the log directory. 2003-12-07 17:43:30 +00:00
Dag-Erling Smørgrav
9cc0135c20 Merge in uncommitted changes from the running configuration. 2003-12-04 10:22:56 +00:00
Dag-Erling Smørgrav
082e8d12e0 RELENG_5_2 is right around the corner. 2003-12-04 10:21:06 +00:00
Ruslan Ermilov
69de7f12cb Understand the old pseudo-device config(8) file directive, for 4.x. 2003-11-28 08:58:44 +00:00
Alexey Zelkin
ac5e4e9c9e Learn about new world order 2003-11-26 10:43:05 +00:00
Sam Leffler
10e2a7db13 fixup include filenames; this stuff used to be in the kernel source tree 2003-11-13 21:25:09 +00:00
Sam Leffler
240d548608 honor environment settings of SYSDIR and BINDIR 2003-11-13 21:24:09 +00:00
Sam Leffler
891ea87e6a add in-kernel ttcp performance tool 2003-11-13 00:30:27 +00:00
Dag-Erling Smørgrav
a82652a49f Remove leftovers from old color determination scheme.
Tune the speed at which colors change.
2003-11-12 08:37:10 +00:00
Dag-Erling Smørgrav
a5601bd7fa braino in age computation 2003-11-12 08:32:34 +00:00
Dag-Erling Smørgrav
f61d63d059 Use graded colors to more clearly indicate relative age. 2003-11-12 08:30:51 +00:00
Dag-Erling Smørgrav
7335c12f8f Turn the table around: platforms across, branches down.
Also fix some bogus tabification in here documents.
2003-11-12 08:16:16 +00:00
Dag-Erling Smørgrav
a61575cf29 Belatedly include RELENG_4_9 in the build, and rotate RELENG_4_7 out. 2003-11-12 07:50:36 +00:00
Sam Leffler
754a426e14 add 802.11 layer stats dumper 2003-11-08 01:06:19 +00:00
Sam Leffler
d7c15d551a catchup with if_xname change 2003-11-08 01:01:56 +00:00
Brian Feldman
afdc68c42f Add a "-f" flag for asf(8) which performs a search to find the each module
no matter where in the directory structure it may be.  Use this and the "-k"
flag in the generated gdbinit files so that the "getsyms" function in gdb
requires no user intervention to run and will find every module if they're
in the kernel build's module directory.  This is still quite useful for
cases where gdb knows that the path for some modules is /boot/kernel and
others are in the object directory for /usr/src/sys/$ARCH/compile/kernel.

Approved by:	grog
2003-11-04 06:38:37 +00:00
Poul-Henning Kamp
573e036e31 Attached is a small patch to ministat that separates the
avg/median/stddev bars onto two lines.  Useful for datasets that
overlap.

Submitted by:    Dan Nelson <dnelson@allantgroup.com>
2003-10-31 13:25:43 +00:00
Tim J. Robbins
33c50f26da Add regression tests for sgetrune() and sputrune(). 2003-10-30 11:51:36 +00:00
Sheldon Hearn
9c31021801 Update the location of the Hart list. 2003-10-29 11:12:28 +00:00
Dag-Erling Smørgrav
e89ab6e083 Add the "TB ---" prefix to error and warning messages so that early
failures (e.g. failure to lock the sandbox) don't result in empty failure
reports.
2003-10-14 20:01:58 +00:00
Dag-Erling Smørgrav
adc0836e72 Tweak the colors for failed runs 2003-10-11 09:44:18 +00:00
Dag-Erling Smørgrav
cd4c9b964f Show stale results (8 hours old or more) in a paler color. 2003-10-11 09:40:18 +00:00
Dag-Erling Smørgrav
ffa02b4681 Cosmetic nits. 2003-10-10 23:27:57 +00:00
Dag-Erling Smørgrav
a39eb57a16 Collapse the Architecture and Machine columns to conserve screen space. 2003-10-10 23:25:43 +00:00
Dag-Erling Smørgrav
4b59e44a86 Discourage line breaks between the time of day and the time zone. 2003-10-10 22:41:00 +00:00
Dag-Erling Smørgrav
f5e8ed3d85 Add support for tinderbox(1)'s -h option. 2003-10-10 21:13:37 +00:00
Dag-Erling Smørgrav
8843f010b9 There is no need for $have_logs since we determine what platforms and
branches to show from what logs are actually present on disk.
2003-10-10 21:05:31 +00:00
Dag-Erling Smørgrav
b9dc5c11b8 Document the -h option. 2003-10-10 21:04:14 +00:00
Dag-Erling Smørgrav
ae7558858d Report the version number and hostname at the top of the log. Allow the
user to override the hostname on the command line (for whatever reason).
Add a comment to explain why a particular piece of code is commented out.
2003-10-10 20:59:51 +00:00
Dag-Erling Smørgrav
3ce6706cff s/GMT/UTC/ 2003-10-10 20:44:49 +00:00
Dag-Erling Smørgrav
38b28673a3 Allow wrapping between the date and the time. s/GMT/UTC/. 2003-10-10 07:11:54 +00:00
Dag-Erling Smørgrav
92f489a593 Build RELENG_5_1. 2003-10-10 07:10:33 +00:00
Dag-Erling Smørgrav
981152552a Instead of using hardcoded column and row headers, scan the log directory
to see what's of interest.
2003-10-09 02:30:34 +00:00
Dag-Erling Smørgrav
ef42b431bd Build a couple of security branches. 2003-10-09 02:18:37 +00:00
Ruslan Ermilov
21159d1687 Fix a bug that prevented exists() from finding "foo/", "foo/."
and "foo/.." when ".PATH: foo" was also given.

PR:		bin/34062
2003-10-02 21:30:30 +00:00
Sam Leffler
be9b20b07a o the kernel sysctl uses 'avg' for a key; change to suit
o change header field widths to match the kernel so columns line up
2003-09-19 21:52:29 +00:00
Sam Leffler
2128acac3b fix build 2003-09-19 17:18:32 +00:00
Dag-Erling Smørgrav
65c0d0bfeb Add support for stop files, the existence of which signals tbmaster to
skip particular platforms or configs, or simply stop running.
2003-09-19 09:15:10 +00:00
Dag-Erling Smørgrav
da4536cd6d Check that $verbose is defined before using it in a comparison. 2003-09-19 09:12:32 +00:00
Dag-Erling Smørgrav
48652808c4 Make char signed by default.
Submitted by:	grehan
2003-09-09 07:01:13 +00:00
Poul-Henning Kamp
a21af19141 In case of zero span data supress the histogram plot. 2003-08-18 11:13:19 +00:00
Poul-Henning Kamp
3b9b37bd54 A small statistics tool for gauging the statistical significance
of data from benchmarks etc.  Implements "Student's t" for various
confidence levels, defaults to 95%.

If your benchmarks are not significant at the 95% confidence level,
we don't want to hear about it.
2003-08-13 07:21:54 +00:00
Dag-Erling Smørgrav
503148a20c Add a comment about hcomp. 2003-08-05 19:35:41 +00:00
Dag-Erling Smørgrav
35f9ba02ce gif -> png 2003-08-04 21:11:33 +00:00
Dag-Erling Smørgrav
b5ed0e8e06 A Perl script which tries to "compress" headers by removing comments and
superfluous whitespace.
2003-08-04 13:10:01 +00:00
Dag-Erling Smørgrav
0cfef457a6 Parts of the patch have been committed. 2003-08-01 21:54:35 +00:00
Dag-Erling Smørgrav
20332394f8 powerpc patch. 2003-08-01 21:18:17 +00:00
Dag-Erling Smørgrav
6205801c80 Use a more generic patch name. 2003-08-01 21:17:43 +00:00
Dag-Erling Smørgrav
9ebd4b3025 powerpc still needs a patch. 2003-08-01 21:16:31 +00:00
Dag-Erling Smørgrav
1110b43744 Re-add support for patches. 2003-08-01 21:15:28 +00:00
Dag-Erling Smørgrav
20b0471597 Use PNG instead of GIF; add WWWOWN and WWWGRP variables to the Makefile;
add a shortcut icon.
2003-08-01 07:55:13 +00:00
Dag-Erling Smørgrav
378c1e90c3 The rc files have been repo-copied to a separate subdirectory. 2003-08-01 07:24:31 +00:00
Pierre Beyssac
af1a7621cf Add a regression test for the big pipe bug.
Suggested by: silby
2003-07-31 12:40:56 +00:00
Dag-Erling Smørgrav
cb065e0460 Braino in previous commit: lists are comma-separated. 2003-07-31 07:52:06 +00:00
Dag-Erling Smørgrav
f7f2eceb60 Make the experimental platforms tinderbox extra verbose. 2003-07-31 07:47:25 +00:00
Ruslan Ermilov
33a96c6f65 A simple tool to sanity check the contents of release/*/dokern.sh
and release/*/drivers.conf.
2003-07-28 18:18:20 +00:00
Dag-Erling Smørgrav
1c1d85facf DATE and PATCH are always defined, but may be empty. 2003-07-28 10:02:25 +00:00
Dag-Erling Smørgrav
4a35f45618 Remove redundant "targets", add NOLIBC_R and NOFORTH to environment 2003-07-28 09:51:52 +00:00
Dag-Erling Smørgrav
d117ab063e Install experimental.rc 2003-07-28 09:49:27 +00:00
Dag-Erling Smørgrav
9741efe751 Document --dump 2003-07-28 09:48:13 +00:00
Dag-Erling Smørgrav
153dd0a1a9 Revive the powerpc tinderbox that used to run on 9ball. 2003-07-28 09:46:48 +00:00
Dag-Erling Smørgrav
fd951241bd stanley uses a different sandbox. 2003-07-28 09:44:54 +00:00
Dag-Erling Smørgrav
a563d96873 Don't mail out failure reports from stanley. 2003-07-28 09:43:00 +00:00
Dag-Erling Smørgrav
d55094495a - add a -d option which dumps the configuration and exits
- initialize single-valued configuration variables to '' rather than undef
- allow empty values in configuration files
- take care to untaint $etcdir
2003-07-28 09:42:42 +00:00
Dag-Erling Smørgrav
b1e91d01fb powerpc isn't tinderbox-ready yet. 2003-07-25 22:17:28 +00:00
Dag-Erling Smørgrav
fd9eb4ba67 Ready to go live. 2003-07-25 07:18:06 +00:00
Dag-Erling Smørgrav
fe468ebbfb Complain about extraneous command line arguments. 2003-07-24 10:44:45 +00:00
Dag-Erling Smørgrav
f233d6e590 Install rc files from ${.CURDIR}, not ${.OBJDIR}. 2003-07-23 20:22:50 +00:00
Dag-Erling Smørgrav
b3b214e9f3 Sample configuration files. 2003-07-23 20:16:36 +00:00
Dag-Erling Smørgrav
9b573dd6f8 Rewrite tbmaster to use configuration files instead of a hard-coded hash. 2003-07-23 20:16:11 +00:00
Dag-Erling Smørgrav
0c0e412335 Improve the markup a little. 2003-07-23 20:15:49 +00:00
Diomidis Spinellis
37c94e1d78 Test 8.16 in sed.test tests the ability of a sed to handle an empty
regular expression as the first argument to a substitute command. If
used to test a sed which (erroneously) evaluates this at translation
time rather than at execution time, the bugged sed is put into an
infinite loop. This mode of failure seems excessive. Such a failing
sed is the Free Software Foundation's sed 3.02.

The specific test was also not being executed for the BSD sed.

Both problems are now fixed.

PR:		misc/25585
Submitted by:	Walter Briscoe <w.briscoe@ponl.com>
Approved by:	schweikh (mentor)
MFC after:	2 weeks
2003-07-22 19:22:08 +00:00
Sam Leffler
0c5b9ee7a1 add stat dumper for the safenet driver 2003-07-21 21:58:04 +00:00
Dag-Erling Smørgrav
da60560610 Look for logs in the directory where we place the output. 2003-07-18 07:43:43 +00:00
Dag-Erling Smørgrav
90e476c26d Fix taint bug in previous commit. 2003-07-18 07:29:00 +00:00
Dag-Erling Smørgrav
cc1f50a9fe Generate index.html in the same directory. 2003-07-18 07:24:13 +00:00
Ruslan Ermilov
c94d70434f Fixed broken arithmetic expression parser.
Reminded by:	bde
In memory of:	alane
2003-07-04 13:33:48 +00:00
Sam Leffler
64125f9866 bring in ath-specific test tool; more to follow 2003-06-28 18:26:23 +00:00
David Schultz
3f0b22498b Add regression tests for floating point parsing in scanf(3). 2003-06-28 09:03:44 +00:00
Dag-Erling Smørgrav
99dca055e8 amd64 is actually stable enough for the regular -CURRENT tinderbox now. 2003-06-20 16:57:37 +00:00
Dag-Erling Smørgrav
47e898fefd Set the precedence on failure reports to "bulk" so I don't get tons of
vacation notices every time the tree breaks.
2003-06-14 12:36:13 +00:00
Greg Lehey
403de99214 Replace hard-coded module path with a keyword which gets changed when
the kernel is built.
2003-06-12 08:11:08 +00:00
Greg Lehey
36572f4867 Make defproc work. 2003-06-08 06:11:15 +00:00
Greg Lehey
3a40ab54ef Make btpp and fr work. There's still more to be done. 2003-06-08 06:10:45 +00:00
Greg Lehey
ec9e4dd1da Terminate echoed lines. Unlike echo(1), gdb echo doesen't
automatically terminate them.
2003-06-08 06:08:28 +00:00
Greg Lehey
fd23735366 Get the manual section number for kldstat(8) right. Comment change only.
Pointed out by:	yar
2003-06-07 01:17:04 +00:00
Greg Lehey
b38d4c0188 Modify startup mode: don't specify the file name for the debug kernel,
so it needs to be (and can be) specified on the command line.  Don't
try to automatically connect to a remote machine, so that the same
.gdbinit file can be used for analysing processor dumps.
2003-06-07 01:15:07 +00:00
Greg Lehey
030b9a7c93 Add macros for kernel debugging. These have been around for a
while, and they will need some more tuning before they're really
useful, but at the moment they're better than nothing.

Indirectly reminded by: dwhite
2003-06-07 01:01:42 +00:00
Tim J. Robbins
57f0ef1f50 Regression tests for wctype(), iswctype(), wctrans(), towctrans(). 2003-06-06 09:42:21 +00:00
Dag-Erling Smørgrav
e74fa2cec0 Mail out -STABLE tinderbox failures as well. 2003-06-05 13:50:38 +00:00
Tony Finch
7d3a298ba9 Add tests for the behaviour of substitution when the regex can match
a zero-length string. This shows bugs in the s///g and s///2+ cases.
2003-06-04 15:26:23 +00:00
Sam Leffler
8b9f78baa4 Merge from private version:
o add hash operations
o make AES operations useful: split into 3 ops based on key length (specify
  aes for AES w/ 128 bit keys, aes192 for 192-bit keys, and aes256 for
  256-bit keys
o add -c option to force encrypt->decrypt result to be compared against the
  original plaintext (need to compare it against a known good implementation
  like openssl)
o change multi-threaded test output to be more meaningingful
o fix default block size selection to consider algorithm's blocking needs
2003-06-02 23:45:32 +00:00
Poul-Henning Kamp
06a31d6a67 write pattern to /dev/ccd3 not /dev/ccd3c 2003-06-02 19:49:09 +00:00
Dag-Erling Smørgrav
bb4bb09d45 Remember to close the read end of the pipe. 2003-05-26 12:12:45 +00:00
Ruslan Ermilov
5d29610095 -lbsdxml lives in lib/libexpat. *Blush*
Submitted by:	tmm (Makefile.inc1)
2003-05-18 00:40:22 +00:00
Dag-Erling Smørgrav
6a5997dee6 Document the DATE configuration field. 2003-05-17 22:40:34 +00:00
Dag-Erling Smørgrav
a0b3c56374 Fix a bug in report() which prevented two failure reports today from
reaching the lists.  Also add support for tinderbox.pl's --date option.
2003-05-17 22:38:36 +00:00
Dag-Erling Smørgrav
97e0102665 Make sure realinstall works when ${.OBJDIR} != ${.CURDIR}. 2003-05-17 14:15:59 +00:00
Dag-Erling Smørgrav
64afb48f6c Make some spaces non-breakable. 2003-05-17 14:13:51 +00:00
Dag-Erling Smørgrav
d9bc08dd81 Constrain the chekout date to ISO format (yyyy-mm-dd) and add a special
case, "today", which corresponds to 00:00 on the day the run starts.

Remove NO_CPU_CFLAGS and NO_CPU_COPTFLAGS.  This should be safe since we
clear the environment and set __MAKE_CONF to /dev/null.  NO_CPU_CFLAGS
actually breaks the Alpha release by preventing the inclusion of -mieee
in CFLAGS.

Do not set BUILDNAME as the release/Makefile already constructs a better
one than we do (though I wish there was a way to s/-SNAP/-TINDERBOX/)
2003-05-17 14:12:48 +00:00
Dag-Erling Smørgrav
9878532be8 More configuration tweaks. Rename %CONFIGS to %SETUPS to make the code
clearer (particularly to someone who has read the man page).  Don't print
anything on stderr.
2003-05-16 14:01:02 +00:00
Dag-Erling Smørgrav
16b7723c4f Document the fact that tinderbox(1) accepts environment variables on the
command line.  Also sort the xrefs correctly.
2003-05-16 13:58:20 +00:00
Dag-Erling Smørgrav
f0bd8792bb More oats for the beggars' horses. 2003-05-16 12:11:13 +00:00
Dag-Erling Smørgrav
cef526c27c Be careful what you wish for - you might get it!
Wished for by:	ru
2003-05-16 10:59:40 +00:00
Dag-Erling Smørgrav
7f34345c68 Add a 'patch' command rather than apply the patch unconditionally.
Don't try to clean the release chroot, leave that to the release Makefile.
2003-05-16 10:58:35 +00:00
Dag-Erling Smørgrav
3dcbbed7f3 Don't be so sensitive; /\bStop\b/ can occur in normal output and trick
tbmaster into thinking the build failed.  Look for /^Stop in / instead.
2003-05-16 10:55:49 +00:00
Dag-Erling Smørgrav
ae2568e5f3 Overhaul the reporting code, making sender, recipient and subject fully
configurable.

Add support for tinderbox.pl's --patch.

-STABLE releases won't build with NOPERL (kernel builds use Perl).
2003-05-16 07:54:47 +00:00
Dag-Erling Smørgrav
b2b8f6223b Add support for local patches (which are also passed on to make release)
--verbose was a little too verbose, especially while cleaning the sandbox.
2003-05-16 07:52:38 +00:00
Dag-Erling Smørgrav
ccd60d5c3d Explicitly set the sandbox directory (it defaults to ~/tinderbox which is
wrong when running a release tinderbox as root)

Use the setup's COMMENT field in the subject of the failure report, instead
of just "$branch tinderbox".

Tweak the test setups.
2003-05-15 20:33:33 +00:00
Dag-Erling Smørgrav
1a1ab60d64 'make release' should run from src/release, not src. 2003-05-15 20:30:21 +00:00
Dag-Erling Smørgrav
0fbce30315 Make 'clean' and 'update' commands rather than options. Invoke 'update'
(but not 'clean') in all setups.  Bump tinderbox.pl version to 2.1, mostly
for the 'release' command added in the previous commit.
2003-05-15 13:12:57 +00:00
Dag-Erling Smørgrav
9aad97c0eb Make the ENV configuration variable a hash rather than an array.
Build LINT on -STABLE now that tinderbox.pl knows how.  Also try to build
LINT on powerpc and amd64 (this is a formality as they don't have NOTES
so nothing will be built)

Add two setups for release testing, with plenty of NO* to speed things up.

If the config key was not specified on the command line, try to guess it
from the hostname.
2003-05-15 12:33:46 +00:00
Dag-Erling Smørgrav
91f9508f52 Add a 'release' command which builds a release. It currently sets
NOCDROM, NODOC and NOPORTS to save time and space, but I may remove
those at a later date so we can use the results to populate a snapshot
server.

Document the --machine option.

Make $arch and $machine default to the correct values for the current
system.  This shouldn't make any difference unless you run the
tinderbox on a pc98 machine, since for all other platforms, $arch and
$machine are the same.

Only set kernel-related variables if actually building a kernel or a
release.

Be paranoid and cd to the correct directory in each stage so we're
sure we invoke make(1) in the right place.

To support building LINT on -STABLE, don't try to 'make LINT' unless
NOTES exists, but build LINT if the config file exists even if there
is no NOTES.
2003-05-15 12:26:55 +00:00
Dag-Erling Smørgrav
0d74290be5 use 5.006_001 (for new open() syntax) 2003-05-15 12:17:02 +00:00
Dag-Erling Smørgrav
dbf78dac50 Add a Makefile for the web bits. 2003-05-15 10:48:50 +00:00
Dag-Erling Smørgrav
e9656c097b Untabify string literals. 2003-05-15 08:45:22 +00:00
Dag-Erling Smørgrav
5e62823b5c Don't show platforms for which we have no logs. 2003-05-15 08:44:18 +00:00
Dag-Erling Smørgrav
ac74e878e4 CSS uses C-style comments, not C++-style. 2003-05-15 08:39:00 +00:00
Dag-Erling Smørgrav
3aa990306e These are the sources for the tinderbox summary page. 2003-05-15 08:36:26 +00:00
Dag-Erling Smørgrav
31bd1c5d2d Start mailing -CURRENT tinderbox failures to the lists. 2003-05-06 04:04:02 +00:00
Dag-Erling Smørgrav
2fe6ac6c60 Remove BOOT2_UFS=UFS1_ONLY from the -CURRENT tinderbox environment; it
should no longer be necessary.

Re-enable Kerberos 5 in the -STABLE tinderbox (incorrectly disabled in
the previous commit)

Prepare for, but do not actually enable, mailing reports to
appropriate FreeBSD mailing lists.
2003-05-05 17:21:18 +00:00
Mark Murray
dbf104e68d Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extra
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.
2003-05-05 07:58:44 +00:00
Dag-Erling Smørgrav
4c4e02c542 Start running amd64 builds on 9ball. 2003-05-01 14:14:54 +00:00
Jordan K. Hubbard
f2e30adc3f Sync with latest and greatest Apple sources (which, among other things, fix
the style flag).

Submitted by: Conrad Minshall <conrad@apple.com>
Reviewed by: jkh
Obtained from: Apple Computer, Inc.
2003-04-23 23:42:23 +00:00
David Schultz
60fd7ba74a Add a dozen new tests with the general theme of getting trailing
zeroes right.
2003-04-19 23:53:34 +00:00
Ruslan Ermilov
9b3f5f7760 A version of <sys/endian.h> in RELENG_4 doesn't have 64-bit functions.
Spotted by:	simokawa
2003-04-15 06:51:04 +00:00
David Schultz
3b74a935d6 Add a test case for printf("%5.0f", 0.001). 2003-04-14 11:26:32 +00:00
Poul-Henning Kamp
a9198bad37 Remove the "run GEOM in userland harness" test stuff, it's been OBE. 2003-04-13 09:11:47 +00:00
Poul-Henning Kamp
22de4dc100 Give mdconfig a couple of seconds to deconfigure in case debugging is being
printed to a serial console.

Reverse the order of args to diff to make it more logical.
2003-04-13 09:06:39 +00:00
Ruslan Ermilov
cb66f4dd73 Make sure legacy stuff comes last. Some tools that use
legacy stuff (binutils) depend on this order.

For this to work, provide (and use) specialized versions
of bsd.prog.mk and bsd.lib.mk that include the standard
versions first, then augment CFLAGS, DPADD, LDADD, and
LDFLAGS as necessary, with the legacy stuff.

Tested on:	4.0-RELEASE
2003-04-12 15:07:46 +00:00
Ruslan Ermilov
7552a592f4 libc_gen/basename.c depends on include/libgen.h. 2003-04-11 17:58:17 +00:00
Poul-Henning Kamp
7176764df3 Update these two reference vectors. 2003-04-09 13:36:28 +00:00
Poul-Henning Kamp
a067f0991b Add script to run kernel based regression test and the reference vectors
for the current XML images.
2003-04-09 12:40:12 +00:00
Poul-Henning Kamp
d71142f396 Utility to load one of our XML images into a MD(4) device. 2003-04-09 12:34:20 +00:00
David Schultz
b0850075ac Additional regression tests for grouping, parsing of '.*', and printing
of %f formats where the number of significant digits is < expt.
2003-04-07 00:42:49 +00:00
Warner Losh
1c62f92354 -legacy and /.../legacy/... looks better than build or bootstrap in
the logs, so use that instead.

Submitted by: obrien.
2003-04-06 21:46:44 +00:00
Tim J. Robbins
fadfe1d425 Test for bug in revision 1.54 of vfprintf.c. 2003-04-06 08:02:20 +00:00
Warner Losh
f7e19a98fd We can't use ${WORLDTMP}/usr/{include,lib} for the compat layer. This
is because we populate these directories later, and a subsequent
-DNOCLEAN build may fail.  So, we put them in
${WORLDTMP}/build/usr/{include,lib} instead and adjust Makefile.boot.

Again, this works on -stable and -current, but might break older
versions.

Submitted by: ru@
2003-04-06 03:50:28 +00:00
Warner Losh
5222688930 Don't need the gccism include_next since we won't create this file
when a real sys/endian.h exists.

Submitted by: ru@
2003-04-06 03:30:44 +00:00
David Schultz
600276e186 Regression tests for printf()'s floating point formats.
Tests for correct printing of subnormals are lacking.
2003-04-05 22:13:01 +00:00
Warner Losh
30aaff1192 Migrate to a new way of dealing with building from old revisions of
FreeBSD.  This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build).  We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files.  We then include this directory when building host binaries.

This removes all the past release compatibilty hacks from various
places in the tree.  We still build on tip of stable and current.  I
will work with those that want to support more, although I anticipate
it will just work.

Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
2003-04-05 20:30:30 +00:00
Warner Losh
2949da0a2e 2.x->3.0 upgrade tools are no longer needed. 5.x is unlikely to fit
on a 2.1/2.2 root disk anyway.

OK'd by: peter
2003-04-03 05:44:08 +00:00
David Schultz
0c66f5adc3 Write negative zero as '-0.0'. Otherwise, it is parsed as an integer
before being cast to a floating point type, and the sign is lost.
2003-03-27 05:32:28 +00:00
Sam Leffler
eabb18a6fc add missing %u to show mcr1full count 2003-03-24 17:36:50 +00:00
David Xu
430bd13fe9 Follow new upcall quantum code in kernel. 2003-03-21 08:21:39 +00:00
Sam Leffler
46cdb828e6 o add missing copyright notices
o new hifnstats program to dump hifn driver statistics
o new ipsecstats program to dump fast ipsec statistics
2003-03-19 01:53:55 +00:00
Dag-Erling Smørgrav
ee5803b89b Allow the configuration to specify environment variables (passed on
the command line to tinderbox.pl)
Build Kerberos V in all setups (this was previously taken care of by
tinderbox.pl).
Tweak the 9ball configuration to make powerpc builds work (with a
little help from a toolchain patch provided by grehan)
2003-03-14 00:55:41 +00:00
Dag-Erling Smørgrav
9c48602d6c Support multiple verbosity levels.
Allow the user to specify environment variables on the command line.
Set the correct variables for cross-building.
Don't arbitrarily define MAKE_KERBEROS5 and BOOT_UFS.
2003-03-14 00:52:54 +00:00
Sam Leffler
a0e32c7bc6 use relative pathname to driver-private file (instead of absolute) 2003-03-11 18:49:50 +00:00
Sam Leffler
3bf663f5f1 add simple program to dump ubsec driver statistics 2003-03-11 18:42:20 +00:00
Mark Murray
b7d3fc8d5b KerberosIV deorbit sequence: Remove references to KerbIV libs. 2003-03-08 12:14:26 +00:00
Dag-Erling Smørgrav
c13dcea6ad Prepare for removal of KerberosIV from the tree. 2003-03-06 17:13:18 +00:00
Poul-Henning Kamp
49efad87df Fix a bug in the white-space remover. 2003-03-04 19:20:52 +00:00
David Xu
ec2af999d3 Add test program for round robin in userland. 2003-02-26 01:05:10 +00:00
Dag-Erling Smørgrav
473ef84576 Hacks to get i386 and pc98 building:
- TARGET=${TARGET_MACHINE}
 - BOOT2_UFS=UFS1_ONLY
2003-02-24 10:48:01 +00:00
Sam Leffler
c17b39c12e o add -b option to enable batching
o add #ifdef __FreeBSD__'s around the profiling so the code compiles on openbsd
o update a comment about expected performance for Broadcom hardware
2003-02-24 06:10:50 +00:00
Dag-Erling Smørgrav
bbcbd93649 If more than one argument were given on the command line, interpret the
additional arguments as a series of architectures to build.  This is
useful for running subsets of a particular configuration.
2003-02-23 21:24:08 +00:00
Dag-Erling Smørgrav
3ceb962db6 Add LINT to the target list for the test setup. 2003-02-23 12:41:32 +00:00
Dag-Erling Smørgrav
db08524b17 Add LINT to the taget list for CURRENT. 2003-02-23 12:40:21 +00:00
Dag-Erling Smørgrav
7941c77b0a Don't try to build LINT if there is no NOTES file. 2003-02-23 12:39:25 +00:00
Dag-Erling Smørgrav
249834de3d Don't omit --update on 9ball. 2003-02-21 07:33:41 +00:00
David Xu
5f22df9792 Adjust code for new kse_release interface. 2003-02-20 08:24:22 +00:00
Dag-Erling Smørgrav
51260bb27f Properly terminate some warning messages. 2003-02-18 12:50:37 +00:00
Dag-Erling Smørgrav
b61b86b86f Explicitly set TZ to GMT (including in the build environment) 2003-02-18 10:14:13 +00:00
Dag-Erling Smørgrav
9dc3de8830 - build powerpc world on 9ball
- log directly into two files: a full log and a summary
- set timezone to GMT before starting
2003-02-17 19:50:58 +00:00
Dag-Erling Smørgrav
e52af12a16 Log to stdout if no file was specified. 2003-02-15 19:32:52 +00:00
Dag-Erling Smørgrav
374053b528 Avoid an undef warning. 2003-02-15 14:30:51 +00:00
Dag-Erling Smørgrav
fbacf8a2cc Decrease verbosity, fix some configuration problems. 2003-02-14 09:18:44 +00:00
Dag-Erling Smørgrav
55c4f5c07a Make the tinderbox log lines less obtrusive. 2003-02-13 21:21:48 +00:00
Dag-Erling Smørgrav
0e01af7032 Pass KERNCONF on the command line rather than in the environment,
since the command line is included in the log.
2003-02-13 21:19:20 +00:00
Dag-Erling Smørgrav
9929cb456d Complete overhaul of the configuration system, allowing the user to
select one of multiple configurations at runtime.
2003-02-13 21:18:19 +00:00
Dag-Erling Smørgrav
091aeb5c3c GC the old tinderbox script. 2003-02-13 14:27:11 +00:00
Dag-Erling Smørgrav
902f48ca91 Place the logs in the tinderbox directory rather than cwd. 2003-02-13 11:57:13 +00:00
Dag-Erling Smørgrav
64e31b67e1 Move away the old log file before starting the tinderbox so we don't
accidentally post the old log if the tinderbox script failed to start
altogether.
2003-02-13 10:52:46 +00:00
Dag-Erling Smørgrav
72d8c7ffcd - run the tinderbox script in verbose mode
- use /\bStop\b/ instead of /^\*\*\* Error/ to identify errors
2003-02-13 09:59:59 +00:00
Dag-Erling Smørgrav
9cb460b85a Simplify the log accumulation code. It turns out that the trick of
looking for ^===> can give quite annoying false positives, especially
when building kernels, so drop it; the context can be inferred from
make's "Stop in /foo/bar/baz" messages anyway.

Also add a case that I'd missed the first time around (which happens
to be the common case, not the exception...)
2003-02-12 21:06:19 +00:00
Dag-Erling Smørgrav
bd75cb6142 NO_KERNELCLEAN was a booboo. 2003-02-12 20:29:05 +00:00
Dag-Erling Smørgrav
42d534b255 Welcome tbmaster, TinderboxNG's better half. 2003-02-12 20:23:27 +00:00
Dag-Erling Smørgrav
c2b94638c3 Slight cleanup; adjust verbosity; unlink the logfile before opening it
to tickle 'tail -F'.
2003-02-12 20:18:08 +00:00
Dag-Erling Smørgrav
a2036ac045 Teach whereintheworld to preserve TinderboxNG log messages. 2003-02-12 09:51:47 +00:00
Dag-Erling Smørgrav
487106ce7a Make "CURRENT" the default branch, and special-case it in the update
code so it results in -A rather than -rCURRENT.
2003-02-12 09:13:36 +00:00
Dag-Erling Smørgrav
55b84e8a54 Say hello to Tinderbox 2.0, the choice of a new generation! 2003-02-11 22:17:49 +00:00
Garance A Drosehn
413a16d889 The regression-tests for 'make' *expect* to trigger make's warning:
warning: duplicate script for target "double" ignored
The regression-tests do try to hide that message, but the message does
still appear when using -j (eg: 'make -j5 buildworld').  This changes the
regression-test so the expected warning message will not be seen even
when -j is specified.

Reviewed by:	jmallett  ru
2003-02-10 19:56:42 +00:00
Mike Barcroft
b4e41c1278 Add more tests. Specifically, infinity cast from other types should
always be classified as infinity.
2003-02-08 20:45:48 +00:00
David Xu
10fece7726 Add a missing inline keyword. 2003-02-08 06:33:37 +00:00
Mike Barcroft
2c4594131f Add regression test for soon-to-be-committed fpclassify(). 2003-02-05 16:40:18 +00:00
Sean Chittenden
d61fae8409 Add a getopt-ified version of an old tool that I've been using for ages:
backout_commit.rb.  Tool can be used to automate the
process of backing out either small or large commits based off of
one or more commit messages.  The result of the script is a shell
script which can be edited or run as needed.  New and dead files
are taken into consideration.  See the program's usage statement for
more configuration details.  Here's an example usage:

<programlisting>
$ mutt
  [find commit message, save to disk as cvsmsg.txt]
$ backout_commit.rb ~/cvsmsg.txt
Backout directory:      /usr
Backout script:         backout-2003-01-31-14-04.sh

Scanning through cvsmsg.txt...done.

Change to /usr and run this script.  Please look through this script and
make changes as necessary.  There are commented out commands available
in the script.

Example script usage:
        mv backout-2003-01-31-14-04.sh /usr
        cd /usr
        less backout-2003-01-31-14-04.sh
        /bin/sh backout-2003-01-31-14-04.sh
        rm -f backout-2003-01-31-14-04.sh
</programlisting>
2003-01-31 22:08:14 +00:00
Poul-Henning Kamp
395121c034 Update reference vectors to include BSD's <type> output. 2003-01-31 18:59:12 +00:00
Poul-Henning Kamp
f993880ae1 Add Apple partitioning test case.
Use correct name for image data file
2003-01-31 18:31:48 +00:00
Poul-Henning Kamp
126fe1249a Add more scaffolding to make this compile kernel code. 2003-01-28 09:48:59 +00:00
Dag-Erling Smørgrav
991a7df22b Don't truncate lines if an error occurred. 2003-01-18 12:15:34 +00:00
Dag-Erling Smørgrav
ea54c2afef Indentation cleanup. 2003-01-18 12:12:49 +00:00
Poul-Henning Kamp
ab543fbcee Add a regression test for ccds layout policy. 2003-01-17 12:23:44 +00:00
Poul-Henning Kamp
06e65af2b0 Make sure we find all vnode method vectors in /sys. 2003-01-15 19:19:28 +00:00
Jens Schweikhardt
130b468790 Fix a useless use of cat. Save a process today. 2003-01-09 19:16:09 +00:00
Dag-Erling Smørgrav
a25cc4a3ae Document tinderbox and whereintheworld, and move diffburst in its
alphabetical place.
2003-01-09 12:24:17 +00:00
Dag-Erling Smørgrav
4ea8a44f02 My version of fenner's "make world" log summarizer. 2003-01-09 12:23:29 +00:00
Dag-Erling Smørgrav
16ef3404c6 Sample tinderbox script & build settings. 2003-01-09 12:22:59 +00:00
Sam Leffler
a5c6189066 more crypto test stuff:
o cryptotest can now run multiple threads with -t option
o cryptotest can now "profile" time spent doing symmetric ops with -p
o cryptostats dumps the crypto statistics block
o cryptokeystat is an openbsd app that tests public key ops
2003-01-06 22:11:56 +00:00
Poul-Henning Kamp
ceadf51064 geom_bsd need -lmd to link now. 2003-01-06 20:11:32 +00:00
Tim J. Robbins
889c37ceb3 Add a regression test for wordexp() and wordfree(). 2003-01-04 05:50:35 +00:00
Poul-Henning Kamp
d162136327 Add various command line options, most notably sort order.
Submitted by:	"Matthew Emmerton" <matt@gsicomp.on.ca>
Sat on for far too long:	phk
2003-01-03 17:21:39 +00:00
Jens Schweikhardt
d64ada501a Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Tim J. Robbins
a932a3f4b5 Add a test program for perror() that demonstrates two bugs in the
current implementation.
2002-12-19 09:46:10 +00:00
Tim J. Robbins
7d5a41c359 Test that if the buffer argument (`s') to wcrtomb() is NULL then
the value of the supplied wide character is ignored and L'\0' is used
instead. Remove incorrect comments about "internal buffer" since wcrtomb()
does not have one (wctomb() does).
2002-12-19 02:01:39 +00:00
Mike Barcroft
ac3f0d298f Add regression test for strerror()/strerror_r().
Based on:	src/lib/libc/string/strerror.c (rev 1.8)
2002-12-18 16:59:08 +00:00
Poul-Henning Kamp
adb72768ea Goto WARNS 5 with assorted changes. 2002-12-16 22:35:56 +00:00
Poul-Henning Kamp
6f8a5ea200 Update this one too. 2002-12-16 22:01:25 +00:00
Poul-Henning Kamp
a99aa4c483 Get the test-suite into sync with the kernel again. 2002-12-16 21:39:16 +00:00
Sam Leffler
5df0c0ea08 add program used to exercise/test /dev/crypto symmetric crypto functionality
Obtained from:	openbsd (originally)
2002-12-14 06:23:58 +00:00
Ruslan Ermilov
be8b43b4c7 Add a test for what was fixed in revisions 1.39 and 1.50 of
make/parse.c (allow embedded `:' and `!' in target names).

Approved by:	re
2002-11-28 13:21:32 +00:00
Ruslan Ermilov
113cf9e649 Moved make(1) regression tests from src/Makefile to where they
belong (src/tools/regression/usr.bin/make), and use the latter
to test if make(1) is adequate for building the world.

Approved by:	re
2002-11-28 13:08:09 +00:00
David Xu
2442bdd81b Directly load %edx from mailbox 2002-11-23 04:39:52 +00:00
David Xu
8773cd90dd Fix context restore bug. 2002-11-22 03:01:55 +00:00
Julian Elischer
c2f7aa6939 Don't flip the "we're it" bit until we are all there..
(don't fill in the mailbox pointer until we have unloaded all the
previous contents of the mailbox context block)
2002-11-22 00:23:02 +00:00
David Xu
c823c95038 Correctly save eflags. 2002-11-21 09:48:39 +00:00
David Xu
4ab365e720 Adjust code for new mailbox format.
Reviewed by: deischen, mini
2002-11-18 02:02:08 +00:00
Tim J. Robbins
85fafcf803 Add test cases for btowc() and wctob() in multibyte locales. 2002-11-10 11:03:32 +00:00
Tim J. Robbins
99eabcc8c3 Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3. 2002-11-10 10:50:42 +00:00
Tim J. Robbins
10acac81ab Add regression tests for mblen(), mbtowc(), wctomb(), mbstowcs() and
wcstombs(). These tests have already found two libc bugs.
2002-11-09 04:33:02 +00:00
Tim J. Robbins
89861638ca Add missing #includes of <stdio.h>. Correct a few typos in comments. 2002-11-06 09:37:47 +00:00