diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2012-12-22 23:04:27 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2012-12-23 21:17:26 -0500 |
commit | 86a8452ab72364112801f3583e6415f606fe6c0d (patch) | |
tree | 43f741c42a3f90292388171ee2f101bcb470df88 /tests | |
parent | 8c96c16eac7e7ac39f0b42752031e334052c2a03 (diff) |
run-test: Load shell files from the srcdir
https://bugzilla.gnome.org/show_bug.cgi?id=690667
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run-test.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/run-test.sh.in b/tests/run-test.sh.in index 410cc850..99619067 100755 --- a/tests/run-test.sh.in +++ b/tests/run-test.sh.in @@ -35,8 +35,10 @@ GJS_PATH="$srcdir:$srcdir/../js" GJS_DEBUG_OUTPUT=stderr $verbose || GJS_DEBUG_TOPICS="JS ERROR;JS LOG" GNOME_SHELL_TESTSDIR="$srcdir/" +GNOME_SHELL_JS="$srcdir/../js" +GNOME_SHELL_DATADIR="$srcdir/../data" -export GI_TYPELIB_PATH GJS_PATH GJS_DEBUG_OUTPUT GJS_DEBUG_TOPICS GNOME_SHELL_JS GNOME_SHELL_TESTSDIR LD_PRELOAD +export GI_TYPELIB_PATH GJS_PATH GJS_DEBUG_OUTPUT GJS_DEBUG_TOPICS GNOME_SHELL_TESTSDIR GNOME_SHELL_JS GNOME_SHELL_DATADIR LD_PRELOAD for test in $tests ; do $debug $builddir/../src/run-js-test $test || exit $? |