tests revision 596b911d9cab20d29597b08f485bd9c94ba64b55
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark AndrewsCopyright (C) 2000 Internet Software Consortium.
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark AndrewsSee COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrews$Id: tests,v 1.9 2000/11/02 17:54:30 mws Exp $
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark AndrewsWe do hourly test builds of the bind9 tree. This is an attempt to
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrewsdocument how they work.
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrews* How things work
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark AndrewsThe scripts driving the build system are in ~wpk/b9t. They are not
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrewsunder CVS control. The builds are driven by cron jobs separately
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrewsinstalled on each build system, running as user wpk.
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark AndrewsThe sources are checked out, and the web reports are generated,
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrewson bb, as driven by the following cron jobs:
f89adb2c2a52b505501c3eaa2aec9fd4df6bd60aTinderbox User # check out the current bind 9 version and make the source tarball
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrews 45 2-21 * * * PLATFORM=BSD-3.1 && . $HOME/b9t/hosts/$PLATFORM/env && \
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrews nice make PLATFORM=$PLATFORM -e -f $HOME/b9t/bin/b9t.mk tarsrc \
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrews # run the bind 9 build status report generator
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrews 30 3-22 * * * perl $HOME/b9t/bin/b9status.pl \
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrews > /proj/build-reports/bind9/bind9.html 2> /dev/null
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark AndrewsEach host has a separate crontab entry for building the server and
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrewsrunning tests. Here are examples from bb and sol:
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrews # build the BSD-3.1 version of bind 9
08e36aa5a5c7697a839f83831fccf8fb3f792848Mark Andrews 0 3-22 * * * $HOME/b9t/bin/b9t.cron BSD-3.1
0 3-22 * * * $HOME/b9t/bin/b9t.cron SunOS-5.6
Do not confuse the shell script ~wpk/b9t/bin/b9t.cron with the crontab
template (?) ~wpk/b9t/b9t.cron. Although they have the same name,
they are not related. The shell script b9t.cron then calls make,
using the makefile b9t.mk in the same location. This makefile moves
/proj/build-reports/bind9/hosts/$PLATFORM. To make the files
On hp.rc.vix.com, the tests often fail because of NFS I/O errors.
/proj/build-reports/bind9/hosts/{TARGET}/failed