Skip to content

Commit

Permalink
[Pharo] Disable loading of preferences and fix running of tests
Browse files Browse the repository at this point in the history
This might be related to each other, but suddenly the tests would not be found any longer.

Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Feb 3, 2024
1 parent 213561e commit 6a82a41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions benchmarks/Smalltalk/build-image-part2.st
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
| loader runner starting |
ScriptConsole println: '== Run Tests'.

runner := SubunitRunner runPackage: 'SomLoader-Tests'.
runner := SubunitRunner runPackage: 'SomLoader'.

ScriptConsole println: '== Load Code'.

Author fullName: 'SomLoader'.
loader := SomLoader load: '.'.
loader createClasses.
loader createMethods.
Expand Down
6 changes: 6 additions & 0 deletions benchmarks/Smalltalk/build-image.st
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
EpMonitor current disable.
Author fullName: 'SomLoader'.

PharoCommandLineHandler compile: 'runPreferences
"Disabled preference loading for benchmarking"
^ self' classified: '*SomLoader'.

'Scripting.st' asFileReference fileIn.
'SomLoader-Compiler.st' asFileReference fileIn.
'SomLoader-Tests.st' asFileReference fileIn.
Expand Down

0 comments on commit 6a82a41

Please sign in to comment.