From 3df53f7123b0d6cfa1ea28777ead4fb61e5c5582 Mon Sep 17 00:00:00 2001 From: cbonar Date: Sun, 31 Aug 2008 21:04:41 +0000 Subject: [PATCH] + first attempt to launch browsers automatically for automated tests --- ciform/trunk/tools/build/kde/runMiniFox.sh | 11 +++++++++++ ciform/trunk/tools/build/kde/runMiniKonqi.sh | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100755 ciform/trunk/tools/build/kde/runMiniFox.sh create mode 100755 ciform/trunk/tools/build/kde/runMiniKonqi.sh diff --git a/ciform/trunk/tools/build/kde/runMiniFox.sh b/ciform/trunk/tools/build/kde/runMiniFox.sh new file mode 100755 index 0000000..1e00528 --- /dev/null +++ b/ciform/trunk/tools/build/kde/runMiniFox.sh @@ -0,0 +1,11 @@ +#!/bin/sh +#set -vx +# Starts Firefox minimized to execute the tests in the background +# TODO ? start and stop the server before running the navigators to gather tests ? +kstart --iconify --keepbelow firefox -safe-mode -new-window $* +#ps --no-headers --ppid $$ -o pid +#trap "pkill -P $$;exit" INT TERM EXIT +#while [ true ] +#do +# sleep 1 # waiting for a signal +#done diff --git a/ciform/trunk/tools/build/kde/runMiniKonqi.sh b/ciform/trunk/tools/build/kde/runMiniKonqi.sh new file mode 100755 index 0000000..8253a85 --- /dev/null +++ b/ciform/trunk/tools/build/kde/runMiniKonqi.sh @@ -0,0 +1,10 @@ +#!/bin/sh +#set -vx +# Starts Konqueror minimized to execute the tests in the background +# TODO ? start and stop the server before running the navigators to gather tests ? +kstart --iconify --keepbelow konqueror $* +#trap "pkill -P $$;exit" INT TERM EXIT +#while [ true ] +#do +# sleep 1 # waiting for a signal +#done