Status: Accepted
Owner: marianopeck
Labels: Milestone-1.2

New issue 3507 by marianopeck: SUnitUnloader >> unloadTestPackages is wrong and outdated
http://code.google.com/p/pharo/issues/detail?id=3507

SUnitUnloader >> unloadTestPackages
is wrong because it uses # instead of ''. This fails with packages like 'Gofer-Tests'.
In addition, this list is not updated.

Now, cleanUpForProduction saves 100kb more aprox ;)

Pharo core version: 12992

The change is to change unloadTestPackages  to:

unloadTestPackages
#('Tests' 'CollectionsTests' 'CompilerTests' 'FreeTypeTests' 'Graphics-Tests' 'KernelTests' 'MorphicTests' 'MultilingualTests' 'NetworkTests' 'ToolsTest' 'Gofer-Tests' 'Announcements-Tests-Core' 'CompressionTests' 'HelpSystem-Tests' 'Multilingual-Tests' 'Regex-Tests-Core')
                do: [ :each | (MCPackage named: each) unload ].

if you agree I create a slice

Reply via email to