javauis/eswt_qt/org.eclipse.swt.qt.linux.x86.se/emma.sh
changeset 80 d6dafc5d983f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javauis/eswt_qt/org.eclipse.swt.qt.linux.x86.se/emma.sh	Fri Oct 15 12:29:39 2010 +0300
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# This runs eSWT MTs and takes coverage measurements.
+
+# Start Xephyr and metacity window manager inside it
+Xephyr -ac -screen 1024x768x24 -dpi 96 -br -reset -terminate -host-cursor 2> /dev/null :2 &
+sleep 3
+DISPLAY=:2 xterm -geometry 0x0 -hold -iconic &
+DISPLAY=:2 metacity &
+DISPLAY=:2 setxkbmap fi &
+sleep 3
+
+# Once the environment is set up, run the tests
+DISPLAY=:2 java -Djava.library.path=./release emmarun -r txt,html -ix org.eclipse.swt*,org.eclipse.ercp.swt.mobile -cp ../nokiatests/junit-3.8.1.1.jar:eswtqt.jar:eswt-qt-tests.jar:../org.eclipse.swt/bin com.nokia.eswt.mt.AllTests 
+