Moved test to the Functional package
DELETE
src/PharoLauncher-Tests-Download.package/PhLVirtualMachineManagerTest.class/instance/testCanGetImageVersionFromFileWhenRunningExtraVM.st
-tests
-testCanGetImageVersionFromFileWhenRunningExtraVM
- | vmManager |
- vmManager := PhLVirtualMachineManager forImage: Smalltalk image lastImagePath.
- vmManager imageVersionFile ensureDelete.
- self flag: 'Remove the following instruction once we based Pharo Launcher on Pharo 7: sources file comes with the image. It is actually needed so that the launched image can get environment variables from the system at startup.'.
- vmManager fetchSourcesFilesFor: '61' in: Smalltalk vmBinary parent asFileReference.
-
- self
- assert: vmManager imageVersion
- equals: self currentImageVersion
\ No newline at end of file

MODIFY
src/PharoLauncher-Tests-Functional.package/PhLVirtualMachineManagerFunctionalTest.class/instance/testCanGetImageVersionFromFileWhenRunningExtraVM.st
src/PharoLauncher-Tests-Functional.package/PhLVirtualMachineManagerFunctionalTest.class/instance/testCanGetImageVersionFromFileWhenRunningExtraVM.st
@@ -3,6 +3,8 @@ testCanGetImageVersionFromFileWhenRunningExtraVM
| vmManager |
vmManager := PhLVirtualMachineManager forImage: Smalltalk image lastImagePath.
vmManager imageVersionFile ensureDelete.
+ self flag: 'Remove the following instruction once we based Pharo Launcher on Pharo 7: sources file comes with the image. It is actually needed so that the launched image can get environment variables from the system at startup.'.
+ vmManager fetchSourcesFilesFor: '61' in: Smalltalk vmBinary parent asFileReference.
self
assert: vmManager imageVersion

Moved test to the Functional package