At 15:25 26-8-2002, [EMAIL PROTECTED] wrote: >On Mon, 26 Aug 2002, Marcus Börger wrote: > > > But then we would have different outputs on different systems. > > So i am against using diff when installed. > >Why not always use our own code? That way it's the same on every >platform.
Use our own code for automated submits to QA (and/or provide a summary) and revert back to producing 2 files, .out and .exp (or whatever extension) so analysis can be done, with whatever tool the user wants to use. The array error in 003.phpt, wasn't clear to me in any diff format, untill sdiff was used. That way you have the best of both worlds. >Derick > > > At 14:59 22.08.2002, Sander Roobol wrote: > > >It's a good idea, but I'd rather see an unified diff with some context. > > >Maybe use diff when it's available, and fall back on this code when > > >it's not. > > > > > >Sander > > > > > >On Thu, Aug 22, 2002 at 02:46:57AM +0200, Marcus Boerger wrote: > > > > The following patch produces *.diff files similar to > > > > diff command. These would allow for easier checks in faild tests > > > > when test combines multiple function checks in one test file > > > > or the test uses var_dump for output. > > > > > > > > For example i changed precision to 13 in array test 003.phpt > > > > The tests now produce 003.diff > > > > 004- float(-0.33333333333333) > > > > 004+ float(-0.3333333333333) > > > > 034- float(-0.33333333333333) > > > > 034+ float(-0.3333333333333) > > > > 050- float(-0.33333333333333) > > > > 050+ float(-0.3333333333333) > > > > > > > > When the test fails because of memory leaks and such then > > > > of cause .log files are better to read. > > > > > > > > Any pros/cons? > > > > > > > > Here is the diff > > > > > > > > [ s n i p ] > > > > > > > > > > > > > > > > ------------------->>> mailto:[EMAIL PROTECTED] > <<<------------------ > > > > "Wir sind allzumal Tiere unter Tieren, Kinder der Materie wie sie, > > > > nur wehrloser. Doch da wir im Unterschied zu den Tieren wissen, > > > > dass wir sterben muessen, wollen wir uns auf jenen Augenblick > vorbereiten, > > > > indem wir das Leben geniessen, das uns durch Zufall und vom Zufall > gegeben > > > > ist." > > > > Umberto Eco, Die Insel des vorigen > Tages > > > > --------------------->>> http://marcus-boerger.de > <<<--------------------- > > > > ------------>>> Tel. 0241 / 874 09-7 ### 0179 / 29 14 > 980 <<<------------ > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, visit: http://www.php.net/unsub.php > > > >--------------------------------------------------------------------------- > Did I help you? http://www.derickrethans.nl/link.php?url=giftlist > Frequent ranting: http://www.derickrethans.nl/ >--------------------------------------------------------------------------- > PHP: Scripting the Web - [EMAIL PROTECTED] > All your branches are belong to me! > SRM: Script Running Machine - www.vl-srm.net >--------------------------------------------------------------------------- > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, visit: http://www.php.net/unsub.php Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php