[squeak-dev] Re: Squeak4.4 RC1 is available
glenpaling
slp5591 at me.com
Mon Dec 17 17:35:00 UTC 2012
Frank Shearar-3 wrote
> On 17 December 2012 17:12, Frank Shearar <
> frank.shearar@
> > wrote:
>> On 17 December 2012 17:07, glenpaling <
> slp5591@
> > wrote:
>>> I updated the CI build version 60 I had to trunk version 12303 (same
>>> version
>>> as RC2). The tests run without Monticello failures. Looks like a CI
>>> problem.
>>
>> No, because build 60 had only 3 test failures. Too, builds #61 - #63
>> weren't triggered by MC changes, so they're running the same MC tests,
>> and none of them failed with these errors.
>>
>> I don't know _why_ it's happening, but I think I know _where_:
>>
>> MCMethodDefinitionTest >> testLoadAndUnload
>> |definition|
>> definition := self mockMethod: #one class: 'MCMockClassA' source:
>> 'one ^2' meta: false.
>> self assert: self mockInstanceA one = 1.
>> definition load.
>> self assert: self mockInstanceA one = 2.
>> definition unload.
>> self deny: (self mockInstanceA respondsTo: #one)
>>
>> However, its #tearDown is supposed to restore order, and is apparently
>> not.
>
> Glen, when you run the tests, do you have Author initials set?
>
> I've just found that if I _don't_, then the #tearDown doesn't revert
> the mock MC package properly... but if I _do_, then the tests pass.
> (The CI build explicitly sets the Author initials.)
Yes, I'm setting the AuthorInitials. I checked, it's still set to 'egp'.
I located a version of Squeak4.4-alpha (update: 11920). It passes the MC
tests.
--
View this message in context: http://forum.world.st/Squeak4-4-RC1-is-available-tp4659514p4659641.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|