I think that the suspendAllWhile: call is important because a) some Metacello tests are sensitive to packages getting marked dirty or other events getting triggered ...
----- Original Message ----- | From: "Christophe Demarey" <[email protected]> | To: [email protected] | Sent: Thursday, February 21, 2013 1:26:31 AM | Subject: Re: [Pharo-project] Metacello issues on Pharo 2.0 | | Dale | | we run the tests simply rewriting runCase as | | runCase | | original | | (self doSilently) ifFalse: [ ^super runCase ]. | original := MetacelloPlatform current bypassGoferLoadUpdateCategories. | [ | MetacelloPlatform current bypassGoferLoadUpdateCategories: true. | ^ SystemAnnouncer uniqueInstance suspendAllWhile: [ super runCase ] | ensure: [ MetacelloPlatform current bypassGoferLoadUpdateCategories: | original ] | | but it seems that we do not have the same behavior between the two | | runCase | | original | | (self doSilently) ifFalse: [ ^super runCase ]. | original := MetacelloPlatform current bypassGoferLoadUpdateCategories. | [ | MetacelloPlatform current bypassGoferLoadUpdateCategories: true. | ^ super runCase ] | ensure: [ MetacelloPlatform current bypassGoferLoadUpdateCategories: | original ] | | So we will run all the tests | | Stef
