Commit Graph

455 Commits

Author SHA1 Message Date
grog
44ab674c71 Get the manual section number for kldstat(8) right. Comment change only.
Pointed out by:	yar
2003-06-07 01:17:04 +00:00
grog
01c6323d54 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
grog
df67c67a7d 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
tjr
8dfc0712c7 Regression tests for wctype(), iswctype(), wctrans(), towctrans(). 2003-06-06 09:42:21 +00:00
des
f18163545f Mail out -STABLE tinderbox failures as well. 2003-06-05 13:50:38 +00:00
fanf
dc25e19e71 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
b3ca652b31 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
phk
08edb67197 write pattern to /dev/ccd3 not /dev/ccd3c 2003-06-02 19:49:09 +00:00
des
b236dd249a Remember to close the read end of the pipe. 2003-05-26 12:12:45 +00:00
ru
371eb349e9 -lbsdxml lives in lib/libexpat. *Blush*
Submitted by:	tmm (Makefile.inc1)
2003-05-18 00:40:22 +00:00
des
60aab675d6 Document the DATE configuration field. 2003-05-17 22:40:34 +00:00
des
ebb6ea254d 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
des
f073845867 Make sure realinstall works when ${.OBJDIR} != ${.CURDIR}. 2003-05-17 14:15:59 +00:00
des
d16a0d97c4 Make some spaces non-breakable. 2003-05-17 14:13:51 +00:00
des
3ef02db084 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
des
9e8ba6de4e 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
des
82db649c34 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
des
182cb0e079 More oats for the beggars' horses. 2003-05-16 12:11:13 +00:00
des
a91743ed20 Be careful what you wish for - you might get it!
Wished for by:	ru
2003-05-16 10:59:40 +00:00
des
9be4da3f37 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
des
bd0c33f669 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
des
98685b8814 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
des
16db649280 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
des
5edcb9f9a8 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
des
81f4086b7f 'make release' should run from src/release, not src. 2003-05-15 20:30:21 +00:00
des
b252fa2abc 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
des
0def3a344d 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
des
931e2394a5 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
des
58ea86a82e use 5.006_001 (for new open() syntax) 2003-05-15 12:17:02 +00:00
des
ac12b4c288 Add a Makefile for the web bits. 2003-05-15 10:48:50 +00:00
des
aae5a35ae3 Untabify string literals. 2003-05-15 08:45:22 +00:00
des
4b6fe98fb7 Don't show platforms for which we have no logs. 2003-05-15 08:44:18 +00:00
des
a9fb3bca16 CSS uses C-style comments, not C++-style. 2003-05-15 08:39:00 +00:00
des
8bde6a5ce1 These are the sources for the tinderbox summary page. 2003-05-15 08:36:26 +00:00
des
94f237b10d Start mailing -CURRENT tinderbox failures to the lists. 2003-05-06 04:04:02 +00:00
des
d64596d40b 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
markm
ee63e7dc15 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
des
9692f6d9c1 Start running amd64 builds on 9ball. 2003-05-01 14:14:54 +00:00
jkh
5d673c0d92 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
das
3214ca63ea Add a dozen new tests with the general theme of getting trailing
zeroes right.
2003-04-19 23:53:34 +00:00
ru
afb5bd3a4b 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
das
2fd827a8bc Add a test case for printf("%5.0f", 0.001). 2003-04-14 11:26:32 +00:00
phk
8442c472ba Remove the "run GEOM in userland harness" test stuff, it's been OBE. 2003-04-13 09:11:47 +00:00
phk
54f789d581 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
ru
e3d7641b70 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
ru
18679452c0 libc_gen/basename.c depends on include/libgen.h. 2003-04-11 17:58:17 +00:00
phk
b39572e7fa Update these two reference vectors. 2003-04-09 13:36:28 +00:00
phk
e66eeacdc8 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
phk
052492c05d Utility to load one of our XML images into a MD(4) device. 2003-04-09 12:34:20 +00:00
das
baf74df098 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
imp
a3dc544bfe -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
tjr
3b10d8d86d Test for bug in revision 1.54 of vfprintf.c. 2003-04-06 08:02:20 +00:00
imp
070e2898a0 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
imp
b7e83c7b41 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
das
38500c73db Regression tests for printf()'s floating point formats.
Tests for correct printing of subnormals are lacking.
2003-04-05 22:13:01 +00:00
imp
b0693a4cbc 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
imp
5f908a4d84 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
das
4f4d465008 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
69c11fdb01 add missing %u to show mcr1full count 2003-03-24 17:36:50 +00:00
davidxu
9df6e8e8d8 Follow new upcall quantum code in kernel. 2003-03-21 08:21:39 +00:00
sam
50d281927b 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
des
4f171e5869 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
des
fe4d359e19 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
b2ca1e3f54 use relative pathname to driver-private file (instead of absolute) 2003-03-11 18:49:50 +00:00
sam
1455b394e2 add simple program to dump ubsec driver statistics 2003-03-11 18:42:20 +00:00
markm
98c95b963a KerberosIV deorbit sequence: Remove references to KerbIV libs. 2003-03-08 12:14:26 +00:00
des
a1ec1684de Prepare for removal of KerberosIV from the tree. 2003-03-06 17:13:18 +00:00
phk
e196887b27 Fix a bug in the white-space remover. 2003-03-04 19:20:52 +00:00
davidxu
e4ed96dd58 Remove 2003-02-26 01:06:44 +00:00
davidxu
71893d7690 This commit was generated by cvs2svn to compensate for changes in r111519,
which included commits to RCS files with non-trunk default branches.
2003-02-26 01:05:10 +00:00
davidxu
46055528c9 Add test program for round robin in userland. 2003-02-26 01:05:10 +00:00
des
9fac86e63b Hacks to get i386 and pc98 building:
- TARGET=${TARGET_MACHINE}
 - BOOT2_UFS=UFS1_ONLY
2003-02-24 10:48:01 +00:00
sam
ddc15adbc4 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
des
4531e083d4 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
des
7e9bb7a64d Add LINT to the target list for the test setup. 2003-02-23 12:41:32 +00:00
des
b129beb008 Add LINT to the taget list for CURRENT. 2003-02-23 12:40:21 +00:00
des
dd9279b8ca Don't try to build LINT if there is no NOTES file. 2003-02-23 12:39:25 +00:00
des
0d1c515c8e Don't omit --update on 9ball. 2003-02-21 07:33:41 +00:00
davidxu
7be8def8f0 Adjust code for new kse_release interface. 2003-02-20 08:24:22 +00:00
des
6082d8705b Properly terminate some warning messages. 2003-02-18 12:50:37 +00:00
des
4164660a47 Explicitly set TZ to GMT (including in the build environment) 2003-02-18 10:14:13 +00:00
des
11cc0b54e5 - 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
des
91e02c6515 Log to stdout if no file was specified. 2003-02-15 19:32:52 +00:00
des
8765c964a5 Avoid an undef warning. 2003-02-15 14:30:51 +00:00
des
822010ed2f Decrease verbosity, fix some configuration problems. 2003-02-14 09:18:44 +00:00
des
1ffb549565 Make the tinderbox log lines less obtrusive. 2003-02-13 21:21:48 +00:00
des
d277a34193 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
des
02b9f17f74 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
des
052848f21b GC the old tinderbox script. 2003-02-13 14:27:11 +00:00
des
83fce684ee Place the logs in the tinderbox directory rather than cwd. 2003-02-13 11:57:13 +00:00
des
293057394b 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
des
752d0c57c5 - run the tinderbox script in verbose mode
- use /\bStop\b/ instead of /^\*\*\* Error/ to identify errors
2003-02-13 09:59:59 +00:00
des
9e1c1a0391 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
des
0208bd2407 NO_KERNELCLEAN was a booboo. 2003-02-12 20:29:05 +00:00
des
3a8db90dbf Welcome tbmaster, TinderboxNG's better half. 2003-02-12 20:23:27 +00:00
des
ffff6c6fa3 Slight cleanup; adjust verbosity; unlink the logfile before opening it
to tickle 'tail -F'.
2003-02-12 20:18:08 +00:00
des
e6262b3f60 Teach whereintheworld to preserve TinderboxNG log messages. 2003-02-12 09:51:47 +00:00
des
ebdd8469e1 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
des
baf49e380c Say hello to Tinderbox 2.0, the choice of a new generation! 2003-02-11 22:17:49 +00:00
gad
ba1743e91b 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