Do not load preferences when spawning a VM jv
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 02 Jan 2018 16:29:05 +0000
branchjv
changeset 1966 99c870d21885
parent 1965 a787232be371
child 1967 520545b0b5d9
Do not load preferences when spawning a VM ...to make tests stable and not dependent on what's in preferences.
RegressionTests__VMSpawningTestCase.st
--- a/RegressionTests__VMSpawningTestCase.st	Thu Dec 21 16:02:03 2017 +0000
+++ b/RegressionTests__VMSpawningTestCase.st	Tue Jan 02 16:29:05 2018 +0000
@@ -161,7 +161,7 @@
     | exe  args  environment  outputFile  output  pid  blocker  status |
 
     exe := OperatingSystem pathOfSTXExecutable.
-    args := { exe } , #('--abortOnSEGV') , argv.
+    args := { exe } , #('--abortOnSEGV') , argv , #('--no-preferences').
     OperatingSystem isMSWINDOWSlike ifTrue:[
         args := String 
                 streamContents:[:s | 
@@ -238,6 +238,7 @@
     "Created: / 06-01-2017 / 11:25:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 28-07-2017 / 10:55:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified (format): / 17-11-2017 / 14:03:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 02-01-2018 / 16:26:09 / jv"
 !
 
 writeFile: aFilename to: aStream labeled: aString