tests: Add error handling for system calls

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-By: Derek Foreman <derekf@osg.samsung.com>
dev
Bryce Harrington 10 years ago
parent f556ebe269
commit e75e7a5b06
  1. 4
      tests/weston-tests-env

@ -11,12 +11,12 @@ fi
WESTON=$abs_builddir/weston
LOGDIR=$abs_builddir/logs
mkdir -p "$LOGDIR"
mkdir -p "$LOGDIR" || exit
SERVERLOG="$LOGDIR/${TEST_NAME}-serverlog.txt"
OUTLOG="$LOGDIR/${TEST_NAME}-log.txt"
rm -f "$SERVERLOG"
rm -f "$SERVERLOG" || exit
BACKEND=${BACKEND:-headless-backend.so}

Loading…
Cancel
Save