[gjs] tests: Disable JIT in tests
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] tests: Disable JIT in tests
- Date: Thu, 23 Sep 2010 18:16:36 +0000 (UTC)
commit 58ecae847b2c4066a5c1b7ddd8e5d0d53c78970e
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
https://bugzilla.gnome.org/show_bug.cgi?id=630413
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 0dc4753..915909d 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_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]