diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-16 09:53:35 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-16 09:53:35 (GMT) |
commit | 61765e0aaae479b94a3fddd01e4e12eae76bb8da (patch) | |
tree | 4c00c5555c77d70db6bd8cae2768d365d12c6702 /scripts/run-ui-tests | |
parent | 76d6fad87094008bc25e3b4e090fb79631414fec (diff) |
Move the remaining scripts to commands
Diffstat (limited to 'scripts/run-ui-tests')
-rwxr-xr-x | scripts/run-ui-tests | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/scripts/run-ui-tests b/scripts/run-ui-tests deleted file mode 100755 index 5a38fb6..0000000 --- a/scripts/run-ui-tests +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -scriptsdir=`dirname "$0"` -rootdir=`dirname "$scriptsdir"` -testsdir=$rootdir/tests -scriptsdir=$rootdir/scripts -logsdir=$rootdir/logs -display=`$scriptsdir/find-free-display` -resolution=1024x768x16 - -xvfb=`which Xvfb` -xserver="$xvfb $display -ac -noreset -shmem -screen 0 $resolution" - -if [ -z "$SUGAR_BUILDBOT" ]; then - xserver=$display -fi - -export SUGAR_LOGGER_LEVEL=debug -export GTK_MODULES=gail:atk-bridge -export SUGAR_UI_TESTS=yes - -xinit $scriptsdir/xinitrc -- $xserver & -xinitpid=$! - -sleep 5 - -DISPLAY=$display python -u $testsdir/shell.py -result=$? - -kill $xinitpid - -if [ -z "$SUGAR_BUILDBOT" ]; then - LOGFILE=$logsdir/test-`date +%Y%m%d-%H%M%S`.log -else - LOGFILE=$logsdir/test.log -fi - -cd ~/.sugar/ui-tests/logs - -for logfile in *.log -do - echo -e "===== $logfile =====\n" >> $LOGFILE - cat $logfile >> $LOGFILE - echo >> $LOGFILE -done - -exit $result |