[gjs] Install jsUnit.js in modules.



commit 9a2b8fd7ae42c4759cbc4b4b64d038f631505303
Author: Marco Pesenti Gritti <marcopg litl com>
Date:   Fri Jun 12 09:55:19 2009 -0400

    Install jsUnit.js in modules.

 Makefile-modules.am                    |    8 +++++---
 Makefile-test.am                       |    2 --
 {test/js/modules => modules}/jsUnit.js |    0
 test/gjs-unit.c                        |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/Makefile-modules.am b/Makefile-modules.am
index 5db31bc..ee0bde3 100644
--- a/Makefile-modules.am
+++ b/Makefile-modules.am
@@ -3,9 +3,11 @@ dist_gjstweener_DATA =			\
 	modules/tweener/tweener.js	\
 	modules/tweener/tweenList.js
 
-dist_gjsjs_DATA += modules/lang.js	\
-                   modules/signals.js 	\
-		   modules/dbus.js
+dist_gjsjs_DATA +=		\
+	modules/lang.js		\
+	modules/jsUnit.js	\
+	modules/signals.js	\
+	modules/dbus.js
 
 gjsnative_LTLIBRARIES += console.la debugger.la gi.la mainloop.la dbusNative.la
 
diff --git a/Makefile-test.am b/Makefile-test.am
index 6143925..68a2f21 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -111,7 +111,6 @@ clean-local:
 	-rm -rf test_user_data
 
 EXTRA_DIST +=					\
-	test/js/modules/jsUnit.js		\
 	test/js/modules/alwaysThrows.js         \
 	test/js/modules/foobar.js               \
 	test/js/modules/mutualImport/a.js       \
@@ -122,7 +121,6 @@ EXTRA_DIST +=					\
 	test/js/modules/subA/subB/__init__.js	\
 	test/js/modules/subA/subB/foobar.js     \
 	test/js/modules/subA/subB/baz.js        \
-	test/js/modules/jsUnit.js               \
 	test/js/testself.js			\
 	test/js/testEverythingBasic.js		\
 	test/js/testEverythingEncapsulated.js	\
diff --git a/test/js/modules/jsUnit.js b/modules/jsUnit.js
similarity index 100%
rename from test/js/modules/jsUnit.js
rename to modules/jsUnit.js
diff --git a/test/gjs-unit.c b/test/gjs-unit.c
index 617eeb3..0561528 100644
--- a/test/gjs-unit.c
+++ b/test/gjs-unit.c
@@ -59,7 +59,7 @@ setup(GjsTestJSFixture *fix,
      * importing a module, but also it's just less typing to have
      * "assert*" without a prefix.
      */
-    filename = g_build_filename(top_srcdir, "test", "js", "modules", "jsUnit.js", NULL);
+    filename = g_build_filename(top_srcdir, "modules", "jsUnit.js", NULL);
     success = gjs_context_eval_file(fix->context, filename, &code, &error);
     g_free(filename);
 



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