[squeak-dev] The Trunk: KernelTests-ul.118.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Dec 15 19:31:54 UTC 2009


Levente Uzonyi uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-ul.118.mcz

==================== Summary ====================

Name: KernelTests-ul.118
Author: ul
Time: 15 December 2009, 8:16:20 am
UUID: 2d999f0a-70dc-4641-8bf6-5100304eba46
Ancestors: KernelTests-ar.117

- mark AllocationTest >> testOutOfMemorySignal as expected failure on unix machines

=============== Diff against KernelTests-ar.117 ===============

Item was changed:
  ----- Method: AllocationTest>>testOutOfMemorySignal (in category 'tests') -----
  testOutOfMemorySignal
  	"Ensure that OOM is signaled eventually"
  	| sz |
+ 	SmalltalkImage current platformName = 'unix' ifTrue: [ "avoid crashing"
+ 		^self assert: false ].
  	sz := 512*1024*1024. "work around the 1GB alloc bug"
  	self should:[2000 timesRepeat:[Array new: sz]] raise: OutOfMemory.
  
  	"Call me when this test fails, I want your machine"
  	sz := 1024*1024*1024*1024.
  	self should:[Array new: sz] raise: OutOfMemory.
  !

Item was added:
+ ----- Method: AllocationTest>>expectedFailures (in category 'tests') -----
+ expectedFailures 
+ 
+ 	SmalltalkImage current platformName = 'unix' 
+ 		ifTrue: [ ^#(testOutOfMemorySignal) ] "avoid crashing"
+ 		ifFalse: [ ^super expectedFailures ]!




More information about the Squeak-dev mailing list