[squeak-dev] Re: Squeak4.4 RC1 is available

Frank Shearar frank.shearar at gmail.com
Mon Dec 17 17:23:13 UTC 2012


On 17 December 2012 17:12, Frank Shearar <frank.shearar at gmail.com> wrote:
> On 17 December 2012 17:07, glenpaling <slp5591 at me.com> 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.)


More information about the Squeak-dev mailing list