SF.net SVN: morphix: [2520] trunk/mmaker/utils/auto-testing/auto_testing.sh

[email protected] Mon, 18 Jun 2007 13:05:45 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2520
          http://svn.sourceforge.net/morphix/?rev=2520&view=rev
Author:   bmsleight
Date:     2007-06-18 13:05:44 -0700 (Mon, 18 Jun 2007)

Log Message:
-----------
Making AutoTesting script more ugly

Modified Paths:
--------------
    trunk/mmaker/utils/auto-testing/auto_testing.sh

Modified: trunk/mmaker/utils/auto-testing/auto_testing.sh
===================================================================
--- trunk/mmaker/utils/auto-testing/auto_testing.sh	2007-06-03 00:18:05 UTC (rev 2519)
+++ trunk/mmaker/utils/auto-testing/auto_testing.sh	2007-06-18 20:05:44 UTC (rev 2520)
@@ -40,7 +40,10 @@
 
 LIST_ISOMORPH=$(echo ; isomorph --list $ISO )
 isomorph --add boot "splash=n debugmorphix=yes" $ISO $TMP_D/qemu.iso
-qemu -no-kqemu -full-screen -pidfile $TMP_D/qemu.pid  -cdrom $TMP_D/qemu.iso &
+qemu -vnc :1 -no-kqemu -full-screen -pidfile $TMP_D/qemu.pid  -cdrom $TMP_D/qemu.iso &
+sleep 2
+vncviewer -encodings raw -fullscreen -viewonly 127.0.0.1:1 &
+#vncviewer -fullscreen -viewonly 127.0.0.1:1 &
 
 l=16
 #xwininfo -root | grep wininfo | cut -d' ' -f 4 >$TMP_D/xwid
@@ -53,10 +56,16 @@
   elif [ "$l" -lt "100" ]
   then
     convert=$DUMPS'0'$l'.miff'
+      if [ "$l" -eq "22" ]
+      then
+	echo "hi"
+        killall vncviewer
+	vncviewer -encodings raw  -fullscreen -viewonly 127.0.0.1:1 &
+      fi
   else
     convert=$DUMPS$l'.miff'
   fi
- import   -window root $convert
+ import -display :0 -window root $convert
 # sleep 0.5
  l=$(expr $l + 1)
  echo "Frame " $convert " at " $(date +"%F_%H:%M:%S.%N")


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/