[PATCH 4/9] tests: Cleanup test log filenames

Bryce Harrington bryce at osg.samsung.com
Thu Apr 2 19:16:53 PDT 2015


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 <pekka.paalanen at collabora.co.uk>
Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
---
 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



More information about the wayland-devel mailing list