[Mono-dev] Patches for mono-winforms

Rob Wilkens robwilkens at gmail.com
Sun Jun 3 22:30:20 UTC 2012


Steven,

What I like to do with generating unit tests (and i'm new to this too) 
is this;
(1) before making any changes, clone the git tree twice, one i put in a  
directory called 'mono-orig', the other i just put in 'monosrc'.  I like 
to pre-compile them both long in advance, so when i make changes later 
the 'make' and 'make install' get done a lot quicker.
(2) All my changes go into monosrc, i tend to leave mono-orig untouched.
(3) When i generate unit tests, I clone those tests into the mono-orig 
directory tree. Then i run the tests 'before' any changes and 'with' the 
changes.  That is, the test should fail without any changes, otherwise 
they don't demonstrate that your patch did anything.  They, obviously, 
should pass when they have your changes in them.

I know Stifu said this, but I just wanted to share how i did it.

-Rob

On 06/03/2012 06:20 PM, Stifu wrote:
> Nope, I still can't get the tests to fail. :\
> Does it fail for you (when unpatched)? It's possible the bug doesn't affect
> Mono on Windows, but I'd like to make sure of it.
>
> Can't see anything wrong with patch 3 at first sight.
>
>
> Steven Boswell II wrote
>> Sorry about that.  I've added code to make sure the event-handler gets
>> called.  Enclosed is another attempt.
>> Also, do you have any further comments about patch 3?  For your
>> convenience, I've enclosed another copy.
>>
>>
>>



More information about the Mono-devel-list mailing list