The log files were being named like:

        surface-global-test.la-log.txt
        surface-global-test.la-serverlog.txt
        surface-test.la-log.txt
        surface-test.la-serverlog.txt
        text.weston-log.txt
        text.weston-serverlog.txt

For consistency, omit the test filename's extension (.la/.so).

Reviewed-by: Pekka Paalanen <[email protected]>
Signed-off-by: Bryce Harrington <[email protected]>
---
 tests/weston-tests-env | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/weston-tests-env b/tests/weston-tests-env
index 07d559e..e5c23f7 100755
--- a/tests/weston-tests-env
+++ b/tests/weston-tests-env
@@ -13,8 +13,8 @@ LOGDIR=$abs_builddir/logs
 
 mkdir -p "$LOGDIR"
 
-SERVERLOG="$LOGDIR/$1-serverlog.txt"
-OUTLOG="$LOGDIR/$1-log.txt"
+SERVERLOG="$LOGDIR/${TEST_NAME}-serverlog.txt"
+OUTLOG="$LOGDIR/${TEST_NAME}-log.txt"
 
 rm -f "$SERVERLOG"
 
-- 
1.9.1

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to