run-test: Load shell files from the srcdir
https://bugzilla.gnome.org/show_bug.cgi?id=690667
This commit is contained in:
parent
8c96c16eac
commit
86a8452ab7
@ -35,8 +35,10 @@ GJS_PATH="$srcdir:$srcdir/../js"
|
|||||||
GJS_DEBUG_OUTPUT=stderr
|
GJS_DEBUG_OUTPUT=stderr
|
||||||
$verbose || GJS_DEBUG_TOPICS="JS ERROR;JS LOG"
|
$verbose || GJS_DEBUG_TOPICS="JS ERROR;JS LOG"
|
||||||
GNOME_SHELL_TESTSDIR="$srcdir/"
|
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
|
for test in $tests ; do
|
||||||
$debug $builddir/../src/run-js-test $test || exit $?
|
$debug $builddir/../src/run-js-test $test || exit $?
|
||||||
|
Loading…
Reference in New Issue
Block a user