[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Diff lib

From: Sander Striker <striker_at_apache.org>
Date: 2003-01-09 18:55:30 CET

> From: sussman@collab.net [mailto:sussman@collab.net]
> Sent: Thursday, January 09, 2003 6:05 PM

> "B. W. Fitzpatrick" <fitz@red-bean.com> writes:
>
>> <rbb@rkbloom.net> writes:
>>>
>>> I have actually been enjoying writing test suites recently. So, I
>>> volunteer, oh pick me, pick me, pick me. :-)
>>
>> Yes. You. You there with the beard and the new kid. Yes, *you*. :)
>
> Huzzah! A volunteer!

And a proficient one at that! Thanks Ryan, much appreciated!
 
>>> I would prefer to use my hacked version of CuTest for the test
>>> suite, because that is my latest project. Would that be a problem?
>>
>> +1. CuTest is proving to be Goodness for APR.

Agreed.
 
> Sounds great... but does this mean importing another testing framework
> into the svn tree?

A valid concern. But the simple C framework will probably do the trick.
 
> (We already have two: a simple C and simple python framework. We use
> the C framework to directly test libsvn_* APIs, and we use the python
> framework to test the 'svn' commandline client.)

For output comparison and running commands, python is very usefull.
Consider:

  ./mydiff original modified >mypatch
  cp original original.patched
  cat mypatch | patch original.patched

  [compare original.patched to modified, they should be the same]

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 9 18:56:14 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.