I tried to use perl on windows but gave up and wrote a VBA/Word routine
to get this synposis.
If any takers, pls contact me.
My suggestion is (still) to have somebody from the SUN team write this
up as a BAS and add
the result to the testtool.
smo
Shaun McDonald wrote:
Hi Caio,
On 19 Feb 2007, at 02:05, Caio Tiago Oliveira wrote:
Shaun McDonald, 18-02-2007 21:53:
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).
Since branch ooo220 is what we are using right now to test 2.2, so
it's more sensible to issues than HEAD right now.
You should have put in on HEAD, the merge to ooo220.
Hindsight is always a brilliant thing to have.
Does this works on Windows?
Good catch!
I don't know how the path is handled on Windows, but the default on
windows is "\" instead of "/".
If perl handles windows paths differently, then windows will not be
affected by this change.
We can use similar code to do the same for windows paths if they are
different.
I don't know anything about using perl on windows at the moment so
cannot say.
Shaun
___________________________________________________________All New
Yahoo! Mail – Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard protect
you. http://uk.docs.yahoo.com/nowyoucan.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]