[PATCH weston] tests: Set up the reference image environment variable
Bryce Harrington
bryce at osg.samsung.com
Fri May 22 16:22:43 PDT 2015
On Fri, May 22, 2015 at 02:49:52PM -0500, Derek Foreman wrote:
> make check failed for out of tree builds because we didn't set up
> WESTON_TEST_REFERENCE_PATH in weston-tests-env
>
> Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
Ah, right. Not sure how I could have missed that.
Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>
Tested-by: Bryce Harrington <bryce at osg.samsung.com>
> ---
> tests/weston-tests-env | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tests/weston-tests-env b/tests/weston-tests-env
> index 4da908a..0b9ff1e 100755
> --- a/tests/weston-tests-env
> +++ b/tests/weston-tests-env
> @@ -41,6 +41,7 @@ case $TEST_FILE in
> SHELL_PLUGIN=$MODDIR/ivi-shell.so
>
> WESTON_BUILD_DIR=$abs_builddir \
> + WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
> $WESTON --backend=$MODDIR/$BACKEND \
> --config=$abs_builddir/tests/weston-ivi.ini \
> --shell=$SHELL_PLUGIN \
> @@ -52,6 +53,7 @@ case $TEST_FILE in
> ;;
> *.la|*.so)
> WESTON_BUILD_DIR=$abs_builddir \
> + WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
> $WESTON --backend=$MODDIR/$BACKEND \
> --shell=$SHELL_PLUGIN \
> --socket=test-${TEST_NAME} \
> @@ -64,6 +66,7 @@ case $TEST_FILE in
> SHELL_PLUGIN=$MODDIR/ivi-shell.so
>
> WESTON_BUILD_DIR=$abs_builddir \
> + WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
> WESTON_TEST_CLIENT_PATH=$abs_builddir/$TEST_FILE $WESTON \
> --socket=test-${TEST_NAME} \
> --backend=$MODDIR/$BACKEND \
> @@ -76,6 +79,7 @@ case $TEST_FILE in
> ;;
> *)
> WESTON_BUILD_DIR=$abs_builddir \
> + WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
> WESTON_TEST_CLIENT_PATH=$abs_builddir/$TEST_FILE $WESTON \
> --socket=test-${TEST_NAME} \
> --backend=$MODDIR/$BACKEND \
> --
> 2.1.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list