dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] * config/unix.exp: add ability to set test timeout from site.exp


From: Filipe Brandenburger
Subject: [PATCH] * config/unix.exp: add ability to set test timeout from site.exp.
Date: Thu, 19 Nov 2015 01:11:25 -0800

Hi Ben,

Here is some documentation snippet for test_timeout. I'm not really sure that
this is the most appropriate location for it... I looked for related variables,
settings, but could not really find anything too close to it. Let me know if
you had something else in mind.

Feel free to squash this together with the other git commit that introduces the
new variable, if you feel that is appropriate.

Here's a ChangeLog snippet too:

    * doc/user.xml: document new test_timeout variable of site.exp.
    * doc/dejagnu.texi: Regenerate.

Thanks!
Filipe

Signed-off-by: Filipe Brandenburger <address@hidden>
---
 doc/dejagnu.texi | 6 ++++++
 doc/user.xml     | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi
index b2c6e5a55f6a..c679b6c22171 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 07bb7a3b34ac..5edfaabec4c5 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>
-- 
2.6.0.rc2.230.g3dd15c0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]