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>
Tue, 06 Jul 2010 14:10:26 +0300
changeset 48 e0d6e9bd3ca7
parent 21 2a9601315dfc
permissions -rw-r--r--
Revision: v2.2.3 Kit: 2010127

#!/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`