[V3dot10] Believe or not, a case for Inspector Morse... (2)

Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Mon Oct 8 15:05:38 UTC 2007


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.

Well the problem is not with Delay, but with test.
So Andreas , forget my last note on Mantis.

But the mystery is greater now.

Why not having SemmaphoreTest so many errors ?
Dirty image ?
Dirty directory ?

I check to see...

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 V3dot10 mailing list