From 72be0a64eaef42d473ffea2d240ad784243d4dde Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Mon, 18 May 2015 15:44:13 -0700 Subject: 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] --- jasmine.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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" + } } -- cgit v1.2.3