[gjs/wip/xulrunner-1.9.3-rebase5: 2/26] tests: Don't timeout



commit a293103f3547f23bc6c15612493cfa64095294a3
Author: Colin Walters <walters verbum org>
Date:   Wed Sep 22 11:57:11 2010 -0400

    tests: Don't timeout
    
    Having the process get aborted after a timeout is irritating
    for potentially long GDB sessions.
    
    Responsibility for handling potentially infinite hangs should be the
    job of a higher level test framework (for example, a cgroup or kvm),
    not randomly hardcoded inside individual tests.

 test/gjs-unit.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/test/gjs-unit.c b/test/gjs-unit.c
index 0dc4753..fe97ac3 100644
--- a/test/gjs-unit.c
+++ b/test/gjs-unit.c
@@ -175,7 +175,6 @@ main(int argc, char **argv)
     g_setenv("XDG_DATA_HOME", data_home, FALSE);
     g_setenv("GJS_PATH", path->str, FALSE);
 
-    gjs_crash_after_timeout(60*7); /* give the unit tests 7 minutes to complete */
     gjs_init_sleep_on_crash();
 
     setlocale(LC_ALL, "");



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