tim Rowledge uploaded a new version of SUnit to project The Trunk:
http://source.squeak.org/trunk/SUnit-tpr.110.mcz
==================== Summary ====================
Name: SUnit-tpr.110
Author: tpr
Time: 6 November 2017, 3:01:43.268905 pm
UUID: 0754924f-c223-4120-a86a-2973ccaac087
Ancestors: SUnit-eem.109
Make the default timeout for TestCases depend on the system performance check
=============== Diff against SUnit-eem.109 ===============
Item was changed:
----- Method: TestCase>>defaultTimeout (in category 'accessing') -----
defaultTimeout
"Answer the default timeout to use for tests in this test case.
The timeout is a value in seconds."
+ ^Smalltalk isLowerPerformance ifTrue:[ 25] ifFalse: [5] "seconds"!
- ^5 "seconds"!
tim Rowledge uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-tpr.974.mcz
==================== Summary ====================
Name: System-tpr.974
Author: tpr
Time: 6 November 2017, 2:58:41.610598 pm
UUID: 361edb95-23ce-4ab1-b1c2-32b8382265c5
Ancestors: System-eem.973
Add as test for whether we are running on a slower system. Currently use an ARM cpu or SqueakJS as the discriminator, but future options might well include checking for Cog/Sista or even running an actual test and caching the result
=============== Diff against System-eem.973 ===============
Item was added:
+ ----- Method: SmalltalkImage>>isLowerPerformance (in category 'system attributes') -----
+ isLowerPerformance
+ "Some operations - TestCases for example - need an idea of the typical performance of the system on which they are being performed. For now we will simply assert that running on an ARM cpu or as a SqueakJS instance is enough of a discriminator. Options for the future might also involve whether the vm is a full Cog or Sisata system, even actually measuring the performance at some point to be sure"
+ ^ (self platformSubtype beginsWith: 'arm') "Raspberry PI for example"
+ or: [self platformName = 'Web'] "SqueakJS"!
Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.971.mcz
==================== Summary ====================
Name: System-eem.971
Author: eem
Time: 31 October 2017, 5:05:53.100365 pm
UUID: 42107d12-9bdf-4054-b38d-b31fbda8ffe1
Ancestors: System-tpr.970
Declare an undeclared class var.
Fix a refactoring test by guarding for symbols in SmartRefStream class>>isConversionSelector:
=============== Diff against System-tpr.970 ===============
Item was changed:
ImageSegment subclass: #NativeImageSegment
instanceVariableNames: ''
+ classVariableNames: 'BiggestFileNumber'
- classVariableNames: ''
poolDictionaries: ''
category: 'System-Object Storage'!
!NativeImageSegment commentStamp: 'eem 7/3/2017 13:52' prior: 0!
NativeImageSegment is used to save and restore projects. It uses
one primitive to create a segment (a WordArray) whose contents
are the objects in the project in the same format as they appear in
the VM's heap. It uses another primitive to convert a segment back
into objects.!
Item was changed:
----- Method: SmartRefStream class>>isConversionSelector: (in category 'browsing support') -----
+ isConversionSelector: aLiteral
- isConversionSelector: aSelector
"Let mapClass: be found as sender of our conversion methods"
+ ^aLiteral isSymbol
+ and: [aLiteral last isDigit
+ and: [self includesSelector: aLiteral]]!
- ^aSelector last isDigit and: [self includesSelector: aSelector]
- !