[gjs/wip/xulrunner-1.9.3-rebase4: 2/16] tests: Disable JIT in tests



commit bbeb41eb6af1cdd51b2820f14c186e54c4d3c1e0
Author: Colin Walters <walters verbum org>
Date:   Mon Sep 20 15:58:58 2010 -0400

    tests: Disable JIT in tests
    
    Hopefully temporary.  See:
    
    https://bugzilla.gnome.org/show_bug.cgi?id=616193

 test/gjs-unit.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/test/gjs-unit.c b/test/gjs-unit.c
index 0dc4753..815a216 100644
--- a/test/gjs-unit.c
+++ b/test/gjs-unit.c
@@ -175,6 +175,12 @@ main(int argc, char **argv)
     g_setenv("XDG_DATA_HOME", data_home, FALSE);
     g_setenv("GJS_PATH", path->str, FALSE);
 
+    /* The tests are known to fail in the presence of the JIT;
+     * we leak objects.
+     * https://bugzilla.gnome.org/show_bug.cgi?id=616193
+     */
+    g_setenv("GJS_DISABLE_JIT", "1", FALSE);
+
     gjs_crash_after_timeout(60*7); /* give the unit tests 7 minutes to complete */
     gjs_init_sleep_on_crash();
 



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