summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2015-05-18 15:44:13 -0700
committerPhilip Chimento <philip@endlessm.com>2015-05-18 15:44:13 -0700
commit72be0a64eaef42d473ffea2d240ad784243d4dde (patch)
tree4a858796c0426a297a4c65755e2bd0257f3a8114
parentf2ffc2d1fa2aefd6b674da3d4abfd9a9b59218db (diff)
Run tests on uninstalled library
By setting GI_TYPELIB_PATH and LD_LIBRARY_PATH in Jasmine's environment we can run the tests with "jasmine" against the uninstalled copy of the library, like we do with "make check". [endlessm/eos-sdk#3171]
-rw-r--r--jasmine.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/jasmine.json b/jasmine.json
index aebe0bd..ff0e666 100644
--- a/jasmine.json
+++ b/jasmine.json
@@ -1,5 +1,10 @@
{
"include_paths": ["webhelper", "."],
"options": "--verbose",
- "spec_files": ["test/webhelper", "test/tools/eos-application-manifest"]
+ "spec_files": ["test/webhelper", "test/tools/eos-application-manifest"],
+ "environment": {
+ "GI_TYPELIB_PATH": ".",
+ "LD_LIBRARY_PATH": ".libs",
+ "XDG_CONFIG_HOME": "/tmp"
+ }
}