This looks awesome. I can set up a machine that tests the Office 2000 apps on a daily basis with this.
I'm wondering about your failstrings though. Will wine with no debugmsg's print that line? Won't it just print "Seg Fault Occurred" ? Yven Leist wrote: >On Wednesday 20 March 2002 18:56, you wrote: > >>Well, that's great. If you do write the script, please post it here for >>others to use. If I write it, I'll do the same. >> >something like this might be enough: > >#!/bin/bash > >WINECVS="/usr/src/wine" >CONFOPTS="--prefix=/usr" >WINEOPTS="" >TESTAPPS="app1 app2" >FAILSTRINGS="Unhandled.*exception err:ntdll:RtlpWaitForCriticalSection" >MAILTO="[EMAIL PROTECTED]" > ># make sure we have the latest stuff.. >cd $WINECVS && cvs -z3 up -dP && configure $CONFOPTS && make && make install > >for app in $TESTAPPS; do > wine $WINEOPTS $app > $app.log & > sleep 360 # starting the app might take some time.. > for string in $FAILSTRINGS; do > if [ $(grep -i -c -e "$string" $app.log) != 0 ]; then > # maybe we want a diff against the old log.. > if [ "$1" = "-d" ]; then > echo -e "\n\tdiff against old logfile\n" >> $app.log > diff -u $app.log $app.old >> $app.log > fi > cat $app.log | mail -s "wine problems running $app" $MAILTO > cp $app.log $app.old > killall wine > fi > done; >done; > > >cheers, >Yven > -- /*-------------------------------------------- michael cardenas lead windows compatibility engineer www.lindows.com "Be the change you want to see in the world" -Mahatma Gandhi ---------------------------------------------*/