I will make the changes and test them on Linux and Windows. ----- Original Message ----- From: "Alan Stewart" <[EMAIL PROTECTED]> To: "Autrijus Tang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "the.noonings" <[EMAIL PROTECTED]> Sent: Thursday, March 11, 2004 10:58 PM Subject: Re: Unit tests for "pp" incoporated.
> On 11 Mar 2004 at 23:49, Autrijus Tang wrote: > > > The snapshot version: > > http://p4.elixus.org/snap/PAR.tar.gz > > > > has just received the excellent "t/2-pp.t" test, which is a huge (6,000+ > > lines!) unit test for pp, contributed by Malcolm "the." Noonings. > > > > It covers most options offered by pp, and has uncovered at least four > > subtle bugs in PAR/pp's implementation. > > > > All tests are OK for me (XP Pro/NT4.0, ActivePerl 6.5.1) after I made one change to one > system's config. I had .pl files associated with "perl.exe %1". When tests were run > that do something like "par.pl a.par", what gets executed is only "perl.exe par.pl", > not "perl.exe par.pl a.par", and there is no STDOUT, just a Usage: error on STDERR. > This happens on 6 tests. > > I would bet that a number of folks have this minimal association in Win32 worlds, just > enough to d-click a .pl off the Explorer. Perhaps the test should run "perl par.pl xxx" > just in case. It's probably (almost) always true that perl.exe is on the path. > > Otherwise, great stuff !!! > > Alan Stewart >
