summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBrooks Moses <bmoses@google.com>2015-11-20 09:21:04 +1100
committerBen Elliston <bje@gnu.org>2015-11-20 09:21:04 +1100
commit73db65f5379532d038cb65b45c56f8d8f765286a (patch)
tree10fe43c4d6919c74b95df63ccd41d13635185c0c /doc
parent9fc0c958ddcb30d27dac36bd1de8636579778f9c (diff)
downloaddejagnu-73db65f5379532d038cb65b45c56f8d8f765286a.tar.gz
dejagnu-73db65f5379532d038cb65b45c56f8d8f765286a.tar.bz2
dejagnu-73db65f5379532d038cb65b45c56f8d8f765286a.zip
* config/unix.exp: Add ability to set test timeout from site.exp.
* doc/user.xml: Document new test_timeout variable in site.exp. * doc/dejagnu.texi: Regenerate. Signed-off-by: Ben Elliston <bje@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/dejagnu.texi6
-rw-r--r--doc/user.xml6
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi
index b2c6e5a..c679b6c 100644
--- a/doc/dejagnu.texi
+++ b/doc/dejagnu.texi
@@ -2100,6 +2100,12 @@ the GCC testsuite. For most test cases, the CXXFLAGS and LDFLAGS
are supplied by DejaGnu itself for cross testing, but to test a
compiler, GCC needs to manipulate these itself.
+The local @file{site.exp} may also set Tcl
+variables such as @code{test_timeout} which can control
+the amount of time (in seconds) to wait for a remote test to
+complete. If not specified, @code{test_timeout} defaults
+to 300 seconds.
+
@node Global Config File, Board Config File, Local Config File, Customizing DejaGnu
@section Global Config File
diff --git a/doc/user.xml b/doc/user.xml
index 07bb7a3..5edfaab 100644
--- a/doc/user.xml
+++ b/doc/user.xml
@@ -1673,6 +1673,12 @@ powerpc-linux-gcc -g -O2 -o calc calc.o
are supplied by &dj; itself for cross testing, but to test a
compiler, GCC needs to manipulate these itself.</para>
+ <para>The local <filename>site.exp</filename> may also set Tcl
+ variables such as <symbol>test_timeout</symbol> which can control
+ the amount of time (in seconds) to wait for a remote test to
+ complete. If not specified, <symbol>test_timeout</symbol> defaults
+ to 300 seconds.</para>
+
</sect2>
<sect2 id="global" xreflabel="Global Config File">
<title>Global Config File</title>