[seed] fix sqlite test - not a perfect way of doing this.. but it works.. - we should really avoid naming t



commit c140c89c4b99fc9734b34267236ada8bd0bc5aa4
Author: Alan Knowles <alan akbkhome com>
Date:   Wed Apr 17 00:42:12 2013 +0800

    fix sqlite test - not a perfect way of doing this.. but it works.. - we should really avoid naming the 
test files the same as the modules - it confuses the importer a bit.

 tests/javascript/sqlite.js | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/tests/javascript/sqlite.js b/tests/javascript/sqlite.js
index 0d02392..7bc53a3 100755
--- a/tests/javascript/sqlite.js
+++ b/tests/javascript/sqlite.js
@@ -1,5 +1,9 @@
 #!/usr/bin/env seed
 
+// this may not be the real build location... - but push it on the stack 
+imports.searchPath.unshift('../../modules/sqlite/.libs');
+
+
 testsuite = imports.testsuite
 Gio = imports.gi.Gio
 sqlite = imports.sqlite


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