[gjs/wip/xulrunner-1.9.3-rebase5: 4/26] tests: Disable JIT in tests



commit 395e3fdd8cd188220d9541d78d5c286f8a952986
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 |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/test/gjs-unit.c b/test/gjs-unit.c
index fe97ac3..648006b 100644
--- a/test/gjs-unit.c
+++ b/test/gjs-unit.c
@@ -174,6 +174,11 @@ main(int argc, char **argv)
     g_setenv("BUILDDIR", top_builddir, FALSE);
     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_init_sleep_on_crash();
 



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