[seed] part fix to bug #694458 - first step to getting make check working - passes most tests, just need to



commit afdf68ea8bc6a039e2d5d9fe047f4953f58f8a3b
Author: Alan Knowles <alan akbkhome com>
Date:   Wed Feb 27 07:48:36 2013 +0800

    part fix to bug #694458 - first step to getting make check working - passes most tests, just need to add 
fix module lookup path

 libseed/seed-signals.c               |    2 ++
 tests/javascript/Makefile.am         |    3 +++
 tests/javascript/gtypes/Makefile.am  |    4 ++++
 tests/javascript/signals/Makefile.am |    4 ++++
 tests/javascript/structs/Makefile.am |    3 +++
 5 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/libseed/seed-signals.c b/libseed/seed-signals.c
index 52561d4..8b6223a 100644
--- a/libseed/seed-signals.c
+++ b/libseed/seed-signals.c
@@ -163,6 +163,7 @@ seed_signal_marshal_func (GClosure * closure,
                                                   0);
 
   seed_prepare_global_context (ctx);
+  SEED_NOTE (INVOCATION, "Signal Marshal: ");
 
   args = g_newa (JSValueRef, n_param_values + 1);
 
@@ -206,6 +207,7 @@ seed_signal_marshal_func (GClosure * closure,
     }
 
   JSGlobalContextRelease ((JSGlobalContextRef) ctx);
+  JSGarbageCollect(ctx);
 
 }
 
diff --git a/tests/javascript/Makefile.am b/tests/javascript/Makefile.am
index 1283f95..3e5baee 100644
--- a/tests/javascript/Makefile.am
+++ b/tests/javascript/Makefile.am
@@ -1,3 +1,6 @@
+
+TESTS_ENVIRONMENT = PATH=$(top_builddir)/src:$$PATH
+
 SUBDIRS = gtypes signals structs
 
 EXTRA_DIST = \
diff --git a/tests/javascript/gtypes/Makefile.am b/tests/javascript/gtypes/Makefile.am
index f58d745..253c3c0 100644
--- a/tests/javascript/gtypes/Makefile.am
+++ b/tests/javascript/gtypes/Makefile.am
@@ -1,3 +1,7 @@
+
+TESTS_ENVIRONMENT = PATH=$(top_builddir)/src:$$PATH
+
+
 EXTRA_DIST = \
        gtype-class-init-exception.js \
        gtype-typerror.js \
diff --git a/tests/javascript/signals/Makefile.am b/tests/javascript/signals/Makefile.am
index 27f286d..d4345ae 100644
--- a/tests/javascript/signals/Makefile.am
+++ b/tests/javascript/signals/Makefile.am
@@ -1,3 +1,7 @@
+
+TESTS_ENVIRONMENT = PATH=$(top_builddir)/src:$$PATH
+
+
 EXTRA_DIST = \
        signal-connect.js \
        signal-disconnect.js \
diff --git a/tests/javascript/structs/Makefile.am b/tests/javascript/structs/Makefile.am
index 79fefef..6a8f3fa 100644
--- a/tests/javascript/structs/Makefile.am
+++ b/tests/javascript/structs/Makefile.am
@@ -1,3 +1,6 @@
+
+TESTS_ENVIRONMENT = PATH=$(top_builddir)/src:$$PATH
+
 EXTRA_DIST = \
        struct-functions.js \
        struct-set-member.js \


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