[gjs] tests: Log output to stderr



commit 8dce20584d0f79ece7517eafc9871ef2a5efbc0b
Author: Colin Walters <walters verbum org>
Date:   Thu Apr 25 21:33:20 2013 -0400

    tests: Log output to stderr
    
    So we see errors when running the installed tests.

 installed-tests/test/gjs-unit.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/installed-tests/test/gjs-unit.c b/installed-tests/test/gjs-unit.c
index 572763d..66532e3 100644
--- a/installed-tests/test/gjs-unit.c
+++ b/installed-tests/test/gjs-unit.c
@@ -105,6 +105,8 @@ main(int argc, char **argv)
      * https://bugzilla.gnome.org/show_bug.cgi?id=616193
      */
     g_setenv("GJS_DISABLE_JIT", "1", FALSE);
+    /* The fact that this isn't the default is kind of lame... */
+    g_setenv("GJS_DEBUG_OUTPUT", "stderr", FALSE);
 
     setlocale(LC_ALL, "");
     g_test_init(&argc, &argv, NULL);


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