<div dir="ltr">Hi.<div><br></div><div>I'm trying to run the full test suite in Squeak, and it takes a while. So, I've timed it and noted which parts are slow.</div><div><br></div><div>Full test suite in Test Runner (except the "Help System-*" tests - more on that later) took 26:21.798 - just under a 1/2 hour.</div><div><br></div><div>The top 6 test classes (those taking over a minute each):</div><div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> 05:11.612</span> PureBehaviorTest<br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> 03:15.047</span> DecompilerTests</div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> 03:09.779</span> TraitTest</div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> 03:01.287</span> TraitMethodDescriptionTest</div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> 02:19.789</span> TraitCompositionTest</div><div>
<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> 01:12.013 </span>TraitFileOutTest</div><div>So, about 2/3rds of the time on those tests.</div></div><div><br></div><div>Testing environment:</div><div><div> Squeak5.2alpha</div><div> latest update: #18145</div><div> Image format 68021 (64 bit)<br></div></div><div><div> Croquet Closure Stack VM [StackInterpreterPrimitives VMMaker.oscog-eem.2203]</div><div> Win32 built on Apr 27 2017 03:08:19 GMT Compiler: 4.2.1 Compatible Clang 3.9.1 (tags/RELEASE_391/final)</div><div> platform sources revision VM: 201704270225 </div></div><div>hardware:</div><div><div> Processors: AMD FX(tm)-6300 Six-Core Processor </div><div><span style="white-space:pre"> </span>Identifier: AMD64 Family 21 Model 2 Stepping 0</div><div><span style="white-space:pre"> </span>~MHZ: 3516</div></div><div> Operating System: Windows 10 Home (Build 9200 )<br></div><div><br></div><div>Results:</div><div> 4479 run, 4426 passes, 29 expected failures, 23 failures, 0 errors, 1 unexpected passes<br></div><div>Issues:</div><div><div><img src="cid:ii_jjkvyir90_16496f4dd50f25a5" width="356" height="341"><br></div><br></div><div>So, what are the 'normal' failing tests that I should ignore, if any?</div><div><br></div><div>If you are interested in how the timing was done, I loaded this package (recently created for another purpose):</div><div><div> MCHttpRepository</div><div><span style="white-space:pre"> </span>location: '<a href="http://www.squeaksource.com/CBCTimeLogging">http://www.squeaksource.com/CBCTimeLogging</a>'</div><div><span style="white-space:pre"> </span>user: ''</div><div><span style="white-space:pre"> </span>password: ''</div></div><div>Load "Time Logging" (at least version cbc.2)</div><div>Load "Test logging sunit integration" (at least version cbc.1)</div><div><br></div><div>Then, any runs of tests in TestRunner should log the it takes. The following commands show the results as noted above:</div><div> (TimeLogging globalTimingLogs category: #testRunner) categoryTime. </div><div> (((TimeLogging globalTimingLogs category: #testRunner) slowestGroupTimes select: [:sgt| sgt second >= 1 minute]) collect: #printString) joinSeparatedBy: String cr.</div><div><br></div><div>* About the "Help-System-*" tests, they manage to block the TestRunner with a failure in showing one of the UI's, which after moving a window or two locked up the image. Not nice. Will follow up in another message.</div><div><br></div><div>Also, why does Test Runner not keep a progress bar showing all of the time? It is unnerving now knowing if it is running or not - several times it just seems locked while it is doing things in the background.</div><div><br></div><div>Thanks,</div><div>cbc</div></div>