.\"
.\" aegis - project change supervisor
.\" Copyright (C) 1999, 2001, 2006-2008, 2012 Peter Miller
.\"
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 3 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
.\" General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program. If not, see .
.\"
.bp
.if t .2C
.nh 1 "Testing"
.LP
This chapter discusses testing, and using Aegis to manage your tests
and testing.
.so lib/en/user-guide/c11.1.so
.so lib/en/user-guide/c11.2.so
.\"
.\" Sam Liddicott , Wed, 24 Jan 2001 12:15:03 -0000
.\" o> it would be nice to have a way to specify a timeout for aegis tests.
.\" > If a single test does not finish within this time, it should be
.\" > aborted and considered `No Result'. Then aet should continue with the
.\" > next test (as appropriate if --perservere was given).
.\"
.\" You could implement this in the tests themselves.
.\"
.\" A shell function to do this:
.\"
.\" killme() {
.\" timeout="$1"
.\" parent="$$"
.\"
.\" ( sleep $timeout ; kill $parent; sleep 2; kill -9 $parent; )
.\" echo $!
.\" }
.\"
.\"
.\" to use it
.\"
.\" killer=`killme 600` # 10 minutes
.\"
.\" Jerry Pendergraft
.\" Fri, 26 Jan 2001 08:52:58 -0600
.\"
.\" test_command = \
.\" "PATH=${Add_Path_Suffix /${arch}/bin ${search_path_executable}}:${$}PATH \
.\" ${sh} ${file_name}";
.\" Then when a test (.sh) file calls the program it is testing
.\" > it is called
.\" > by name only and is found in the path. It works to any level
.\" > of branches
.\" > and we have had as many as 5 so far.
.\" vim: set ts=8 sw=4 et :