javauis/eswt_qt/org.eclipse.swt.qt.linux.x86.se/run.tests.xephyr.sh
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 11 Jun 2010 13:33:44 +0300
changeset 35 85266cc22c7f
parent 21 2a9601315dfc
permissions -rw-r--r--
Revision: v2.2.1 Kit: 2010123

#!/bin/bash
Xephyr -ac -screen 1024x768x24 -dpi 96 -br -reset -terminate -host-cursor 2> /dev/null :2 &
sleep 3
echo $! > Xephyr.pid
DISPLAY=:2 xterm -geometry 0x0 -hold -iconic &
DISPLAY=:2 metacity &
DISPLAY=:2 setxkbmap fi &
sleep 3
DISPLAY=:2 java -cp ../nokiatests/bin:../xlibutils/java/bin:../org.eclipse.swt/bin:../eclipsetests/bin:../nokiatests/junit-3.8.1.1.jar -Djava.library.path=../xlibutils/native/release:release com.nokia.eswt.mt.AllTests > test.results.log
kill -9 `cat Xephyr.pid`