#rereun tests within tests folder after doing a build with -noclean flag enabled
execCmd () 
{
	echo ""; echo "[runtests] [`date +%H\:%M\:%S`]"; 
	echo "  $1" | perl -pe "s/ -/\n  -/g";
	su -u www-data $1 2>&1 | su -u www-data tee linux.gtk_consolelog.txt;
}

#one sample test run:
execCmd 'su -u www-data ../jre/bin/java "-Xms256M" "-Xmx256M" "-cp" "eclipse/startup.jar" "org.eclipse.core.launcher.Main" "-noupdate" "-ws" "gtk" "-os" "linux" "-arch" "x86" "-application" "org.eclipse.ant.core.antRunner" "-file" "test.xml" "-Dplatform=linux.gtk" "-Declipse.perf.config=build=N200502161446;branch=2.1.0;vm=ibm-java2-ws-jre-pj9xia32142-20040928a.tar.gz" "-Dtest.target=performance" "-Declipse.perf.dbloc=net://localhost:1527/" "-Dws=gtk" "-Dos=linux" "-Darch=x86" "-Dclean=true" "-DderbyJars=/home/www-data/derby/org.apache.derby" "-logger" "org.apache.tools.ant.DefaultLogger"'
