Hi James, *,

Here's the results of my 35 minutes of learning some perl to solve the problem:

shaun-mcdonalds-computer:~/ooo/qa/qatesttool/script/analyze shaunmcdonald$ perl make_summary.pl ~oootestsmsm1/Sites/ooo/ testtoolresults/2006-01-28/*.res Filename Errors Warnings Warnings_during_initialization ============================ ====== ======== ==============================
b_updt.res                         5        17         0
[..]
xforms_updt.res                    0         0         0
======================================================================== ======
Total 21 files                    15        39         0
shaun-mcdonalds-computer:~/ooo/qa/qatesttool/script/analyze shaunmcdonald$ cvs diff -u make_summary.pl
Index: make_summary.pl

The special line is:
    $filename = substr($file, rindex($file, "/")+1, length($file));

I've committed it to the branch ooo220. If there are no issues with the patch I done, please merge it back into the HEAD (or tell me to learn to do merges in CVS).

Shaun

On 19 Feb 2007, at 00:06, Shaun McDonald wrote:

Actually you don't need to be in the same dir as the result files (except for a problem with the filename, which should be resolved by trimming everything up to the last '/' in the perl file):

-
shaun-mcdonalds-computer:~/ooo/qa/qatesttool/script/analyze shaunmcdonald$ perl make_summary.pl ~oootestsmsm1/Sites/ooo/ testtoolresults/2006-01-28/*.res Filename Errors Warnings Warnings_during_initialization ============================ ====== ======== ==============================
/Users/oootestsmsm1/Sites/oo       5        17         0
[...]
/Users/oootestsmsm1/Sites/oo       0         0         0
====================================================================== ========
Total 21 files                    15        39         0
-

Shaun

P.S. I can do that in Java, but I don't yet have enough experience of perl to be able to do it there yet.

On 18 Feb 2007, at 23:54, James Mckenzie wrote:

Shaun:

Thank you. Have you added a readme or the like to state that these files must be moved into the logging file itself so that they will function correctly? Or have they been updated to point to a logging directory?

James McKenzie




                
___________________________________________________________ Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to