3.10 near to gamma !!!

Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Wed Oct 10 13:44:58 UTC 2007




El 10/10/07 10:24 AM, "Ralph Johnson" <johnson at cs.uiuc.edu> escribió:

> I downloaded the image, ran all tests, and it froze.  I also updated a
> 7143 image, ran all tests, and it froze.  So, I don't think it is
> ready to distribute yet.
> 
> -Ralph

I send  mail to list and the Andreas answer confirming this attached is the
problem.

> I see. I just ran the tests and it seems that
> SemaphoreTest>>testWaitAndWaitTimeoutTogether is the problem. However, I
> do think the test is wrong. You can't really use #wait and
> #waitTimeoutMSecs: together. Deleting the test makes this problem go
> away. Note that you may also consider the fixes here:

Seems the second mail never go to list , so I add the relevant here

> The odd result of all pendent font fixes
> 2246 run, 2224 passes, 0 expected failures, 2 failures, 20 errors, 0
> unexpected passes
> 
> Failures
> #('LocaleTest>>#testIsFontAvailable' 'ReleaseTest>>#testUndeclared')
> 
> Errors
> #('FileDirectoryTest>>#testDeleteDirectory'
> 'FileDirectoryTest>>#testDirectoryExists'
> 'FileDirectoryTest>>#testDirectoryExistsWhenLikeNamedFileExists'
> 'FileDirectoryTest>>#testDirectoryExistsWhenLikeNamedFileExists'
> 'FileDirectoryTest>>#testExists'
> 'FileDirectoryTest>>#testOldFileOrNoneNamed'
> 'FileList2ModalDialogsTest>>#testModalFileSelector'
> 'FileList2ModalDialogsTest>>#testModalFileSelectorForSuffixes'
> 'FileList2ModalDialogsTest>>#testModalFolderSelector'
> 'FileList2ModalDialogsTest>>#testModalFolderSelectorForProjectLoad'
> 'LocaleTest>>#testLocaleChanged'
> 'MCDirectoryRepositoryTest>>#testAddAndLoad'
> 'MCDirectoryRepositoryTest>>#testAddAndLoad'
> 'MCDirectoryRepositoryTest>>#testIncludesName'
> 'MCDirectoryRepositoryTest>>#testIncludesName'
> 'MCDirectoryRepositoryTest>>#testLoadMissingNode'
> 'MCDirectoryRepositoryTest>>#testLoadMissingNode'
> 'MCDirectoryRepositoryTest>>#testStoreAndLoad'
> 'MCDirectoryRepositoryTest>>#testStoreAndLoad' 'SMDependencyTest>>#test2')
> 
> The complete suite less SemaphoreTest.

The 7148 have both of Delay fixes, all yours, and a couple more.
But why if we unselect SemaphoreTest all this shows ?

Edgar

-------------- next part --------------
'From Squeak3.10beta of 22 July 2007 [latest update: #7154] on 8 October 2007 at 11:25:57 am'!

!SemaphoreTest methodsFor: 'testing' stamp: 'jf 12/2/2003 19:31'!
testWaitAndWaitTimeoutTogether
	| semaphore value waitProcess waitTimeoutProcess |
	semaphore _ Semaphore new.
	
	waitProcess _ [semaphore wait. value _ #wait] fork.

	waitTimeoutProcess _ [semaphore waitTimeoutMSecs: 50. value _ #waitTimeout] fork.

	"Wait for the timeout to happen"
	(Delay forMilliseconds: 100) wait.

	"The waitTimeoutProcess should already have timed out.  This should release the waitProcess"
	semaphore signal.

	[waitProcess isTerminated and: [waitTimeoutProcess isTerminated]]
		whileFalse: [(Delay forMilliseconds: 100) wait].

	self assert: value = #wait.
	! !


More information about the Squeak-dev mailing list