mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 20:38:06 +02:00
tests: print the command line to log
weston-tests-env is a beast to handle, when you would like to start weston manually for a test you wan to start inside gdb. This patch causes the full command line to be printed to the automake test logs, so you can copy it from there and run it by hand. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
20436e206e
commit
0f1cac54af
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ case $TEST_FILE in
|
|||
ivi-*.la|ivi-*.so)
|
||||
SHELL_PLUGIN=$MODDIR/ivi-shell.so
|
||||
|
||||
set -x
|
||||
WESTON_BUILD_DIR=$abs_builddir \
|
||||
WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
|
||||
$WESTON --backend=$MODDIR/$BACKEND \
|
||||
|
|
@ -52,6 +53,7 @@ case $TEST_FILE in
|
|||
&> "$OUTLOG"
|
||||
;;
|
||||
*.la|*.so)
|
||||
set -x
|
||||
WESTON_BUILD_DIR=$abs_builddir \
|
||||
WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
|
||||
$WESTON --backend=$MODDIR/$BACKEND \
|
||||
|
|
@ -65,6 +67,7 @@ case $TEST_FILE in
|
|||
ivi-*.weston)
|
||||
SHELL_PLUGIN=$MODDIR/ivi-shell.so
|
||||
|
||||
set -x
|
||||
WESTON_BUILD_DIR=$abs_builddir \
|
||||
WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
|
||||
WESTON_TEST_CLIENT_PATH=$abs_builddir/$TEST_FILE \
|
||||
|
|
@ -78,6 +81,7 @@ case $TEST_FILE in
|
|||
&> "$OUTLOG"
|
||||
;;
|
||||
*)
|
||||
set -x
|
||||
WESTON_BUILD_DIR=$abs_builddir \
|
||||
WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \
|
||||
WESTON_TEST_CLIENT_PATH=$abs_builddir/$TEST_FILE \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue