tests: Set up the reference image environment variable

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@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Tested-by: Bryce Harrington <bryce@osg.samsung.com>
dev
Derek Foreman 10 years ago committed by Bryce Harrington
parent 7ef8c9144d
commit 1223fa4be4
  1. 4
      tests/weston-tests-env

@ -41,6 +41,7 @@ case $TEST_FILE in
SHELL_PLUGIN=$MODDIR/ivi-shell.so SHELL_PLUGIN=$MODDIR/ivi-shell.so
WESTON_BUILD_DIR=$abs_builddir \ WESTON_BUILD_DIR=$abs_builddir \
WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
$WESTON --backend=$MODDIR/$BACKEND \ $WESTON --backend=$MODDIR/$BACKEND \
--config=$abs_builddir/tests/weston-ivi.ini \ --config=$abs_builddir/tests/weston-ivi.ini \
--shell=$SHELL_PLUGIN \ --shell=$SHELL_PLUGIN \
@ -52,6 +53,7 @@ case $TEST_FILE in
;; ;;
*.la|*.so) *.la|*.so)
WESTON_BUILD_DIR=$abs_builddir \ WESTON_BUILD_DIR=$abs_builddir \
WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
$WESTON --backend=$MODDIR/$BACKEND \ $WESTON --backend=$MODDIR/$BACKEND \
--shell=$SHELL_PLUGIN \ --shell=$SHELL_PLUGIN \
--socket=test-${TEST_NAME} \ --socket=test-${TEST_NAME} \
@ -64,6 +66,7 @@ case $TEST_FILE in
SHELL_PLUGIN=$MODDIR/ivi-shell.so SHELL_PLUGIN=$MODDIR/ivi-shell.so
WESTON_BUILD_DIR=$abs_builddir \ WESTON_BUILD_DIR=$abs_builddir \
WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
WESTON_TEST_CLIENT_PATH=$abs_builddir/$TEST_FILE $WESTON \ WESTON_TEST_CLIENT_PATH=$abs_builddir/$TEST_FILE $WESTON \
--socket=test-${TEST_NAME} \ --socket=test-${TEST_NAME} \
--backend=$MODDIR/$BACKEND \ --backend=$MODDIR/$BACKEND \
@ -76,6 +79,7 @@ case $TEST_FILE in
;; ;;
*) *)
WESTON_BUILD_DIR=$abs_builddir \ WESTON_BUILD_DIR=$abs_builddir \
WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
WESTON_TEST_CLIENT_PATH=$abs_builddir/$TEST_FILE $WESTON \ WESTON_TEST_CLIENT_PATH=$abs_builddir/$TEST_FILE $WESTON \
--socket=test-${TEST_NAME} \ --socket=test-${TEST_NAME} \
--backend=$MODDIR/$BACKEND \ --backend=$MODDIR/$BACKEND \

Loading…
Cancel
Save