Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/helpers/test
diff options
context:
space:
mode:
Diffstat (limited to 'commands/helpers/test')
-rwxr-xr-xcommands/helpers/test46
1 files changed, 0 insertions, 46 deletions
diff --git a/commands/helpers/test b/commands/helpers/test
deleted file mode 100755
index 4037a0d..0000000
--- a/commands/helpers/test
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-libexecdir=$SB_LIBEXEC_DIR
-logsdir=$SB_LOGS_DIR
-display=`$libexecdir/sugar-runner/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_PROFILE=uitests
-
-xinit $libexecdir/sugar-runner/xinitrc -- $xserver &
-xinitpid=$!
-
-sleep 5
-
-DISPLAY=$display python -u $1
-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/uitests/logs
-
-for logfile in *.log
-do
- echo -e "===== $logfile =====\n" >> $LOGFILE
- cat $logfile >> $LOGFILE
- echo >> $LOGFILE
-done
-
-rm -rf ~/.sugar/uitests
-
-exit $result