[squeak-dev] The Trunk: ToolsTests-ct.108.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Dec 17 00:30:57 UTC 2021
Christoph Thiede uploaded a new version of ToolsTests to project The Trunk:
http://source.squeak.org/trunk/ToolsTests-ct.108.mcz
==================== Summary ====================
Name: ToolsTests-ct.108
Author: ct
Time: 17 December 2021, 1:30:55.571987 am
UUID: 90d16e62-54a8-5b43-91b0-fdfb4090afa2
Ancestors: ToolsTests-ct.107
Documents choice of priorities in DebuggerTests >> #test01UserInterrupt. Thanks to Marcel (mt)!
=============== Diff against ToolsTests-ct.107 ===============
Item was changed:
----- Method: DebuggerTests>>test01UserInterrupt (in category 'tests') -----
test01UserInterrupt
| counter |
+ counter := nil.
{
[ [counter := counter + 1] repeat ].
[ [counter := counter + 1. true] whileTrue ].
"[ counter := counter + 1. Smalltalk createStackOverflow ]." "Disabled because VM may actually crash under certain conditions."
} do: [:workBlock |
+ "Interrupt must work for all common process priorities below lowIOPriority. Test it for some example priorities based on the existing priority constants."
{
Processor userSchedulingPriority.
Processor userSchedulingPriority + 1.
+ Processor userInterruptPriority.
+ "Processor userInterruptPriority + 1." "Disabled because this might hit the finalization process."
- Processor userInterruptPriority
} do: [:workPriority |
counter := 0.
self doTestUserInterruptFor: workBlock priority: workPriority.
self assert: counter > 0.
self assert: debugger isNotifier]].!
More information about the Squeak-dev
mailing list
|