From 86a8452ab72364112801f3583e6415f606fe6c0d Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 22 Dec 2012 23:04:27 -0500 Subject: [PATCH] run-test: Load shell files from the srcdir https://bugzilla.gnome.org/show_bug.cgi?id=690667 --- tests/run-test.sh.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/run-test.sh.in b/tests/run-test.sh.in index 410cc850e..996190678 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 $?