[Vm-dev] VM Maker: CMakeVMMakerSqueak-tty.68.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jun 19 13:09:46 UTC 2014


Timothy M uploaded a new version of CMakeVMMakerSqueak to project VM Maker:
http://source.squeak.org/VMMaker/CMakeVMMakerSqueak-tty.68.mcz

==================== Summary ====================

Name: CMakeVMMakerSqueak-tty.68
Author: tty
Time: 19 June 2014, 9:09:58.866 am
UUID: 78b692d7-c504-4a7e-a961-b61fe8a2f357
Ancestors: CMakeVMMakerSqueak-tty.67

More refactoring and added tests

=============== Diff against CMakeVMMakerSqueak-tty.67 ===============

Item was added:
+ ----- Method: CMakeVMMakerSqueakMacintoshConfigTest>>testPlatformName (in category 'as yet unclassified') -----
+ testPlatformName
+ 		#(#SqueakIOSBuilder #SqueakMacOSBuilder  #SqueakMacOSPowerPCBuilder #SqueakMacOSX32x86Builder) 
+ 		do:[:builder | | o |
+ 			Smalltalk globals 
+ 				allClassesDo:[:configuration | (configuration class category asString withoutQuoting startsWith: ((Smalltalk at:builder) configurationsCategory))
+ 					ifTrue:[ 
+ 							o:= configuration new.
+ 							(o excludeFromBuild not)
+ 								ifTrue:[self assert:(o  platformName = 'Mac OS' )]]]]
+ 
+ 
+ 
+ !

Item was added:
+ ----- Method: CMakeVMMakerSqueakUnixConfigTest>>testPlatformName (in category 'as yet unclassified') -----
+ testPlatformName
+ 	#(#SqueakAndroidBuilder  #SqueakBSDx86Builder #SqueakLinux32ARMv6Builder #SqueakLinux32x86Builder  #SqueakLinux32x86_64Builder #SqueakLinux64x86w32CompatBuilder #SqueakSunOS32x86Builder)
+ 		do:[:builder | | o |
+ 			Smalltalk globals 
+ 				allClassesDo:[:configuration | (configuration class category asString withoutQuoting startsWith: ((Smalltalk at:builder) configurationsCategory))
+ 					ifTrue:[ 
+ 							o:= configuration new.
+ 							(o excludeFromBuild not)
+ 								ifTrue:[self assert:(o  platformName = 'unix' )]]]]
+ 
+ !

Item was added:
+ ----- Method: CMakeVMMakerSqueakWindowsConfigTest>>testPlatformName (in category 'as yet unclassified') -----
+ testPlatformName
+ 
+ 		#(#SqueakWin32x86Builder) 
+ 		do:[:builder | | o |
+ 			Smalltalk globals 
+ 				allClassesDo:[:configuration | (configuration class category asString withoutQuoting startsWith: ((Smalltalk at:builder)  configurationsCategory))
+ 					ifTrue:[ 
+ 							o:= configuration new.
+ 							self assert:(o  platformName = 'win32').  "hello code smell"
+ 
+ 
+ 								]]]
+ 
+ 
+ 
+ 
+ 
+ 
+ 
+ !

Item was added:
+ ----- Method: CPlatformConfigForSqueak>>androidPlatformName (in category 'cmake executable names') -----
+ androidPlatformName
+ 	^'android'!

Item was changed:
  ----- Method: CPlatformConfigForSqueak>>eventStackV3 (in category 'cmake executable names') -----
  eventStackV3
+ 
- 	"needed by Android config to pass internal tests. Android config is not built"
  	^'do not build'!

Item was added:
+ ----- Method: CPlatformConfigForSqueak>>iosPlatformName (in category 'cmake executable names') -----
+ iosPlatformName
+ 	^'iOS'!

Item was added:
+ ----- Method: CPlatformConfigForSqueak>>macOSPlatformName (in category 'cmake executable names') -----
+ macOSPlatformName
+ 	^'Mac OS'!

Item was added:
+ ----- Method: CPlatformConfigForSqueak>>nilPlatformName (in category 'cmake executable names') -----
+ nilPlatformName
+ 	^nil!

Item was added:
+ ----- Method: CPlatformConfigForSqueak>>unixPlatformName (in category 'cmake executable names') -----
+ unixPlatformName
+ 
+ 	^'unix'!

Item was changed:
  ----- Method: CPlatformConfigForSqueak>>vmCogExecutableName (in category 'cmake executable names') -----
  vmCogExecutableName
+ 
- 	"the name of the cog vm executable"
  	^'cog'!

Item was changed:
  ----- Method: CPlatformConfigForSqueak>>vmSistaExecutableName (in category 'cmake executable names') -----
  vmSistaExecutableName
+ 
- 	"the name of the sista vm executable"
  	^'sista'!

Item was changed:
  ----- Method: CPlatformConfigForSqueak>>vmStackExecutableName (in category 'cmake executable names') -----
  vmStackExecutableName
+ 
- 	"the name of the stack vm executable"
  	^'squeak'!

Item was added:
+ ----- Method: CPlatformConfigForSqueak>>win32PlatformName (in category 'cmake executable names') -----
+ win32PlatformName
+ 	^'win32'!

Item was removed:
- ----- Method: SqueakMacOSNewspeakCogSpurConfig>>platformName (in category 'accessing') -----
- platformName
- 	^ 'Mac OS'!

Item was removed:
- ----- Method: SqueakMacOSNewspeakCogV3Config>>platformName (in category 'accessing') -----
- platformName
- 	^ 'Mac OS'!

Item was removed:
- ----- Method: SqueakMacOSNewspeakSistaSpurConfig>>platformName (in category 'accessing') -----
- platformName
- 	^ 'Mac OS'!

Item was removed:
- ----- Method: SqueakMacOSNewspeakSistaV3Config>>platformName (in category 'accessing') -----
- platformName
- 	^ 'Mac OS'!

Item was removed:
- ----- Method: SqueakMacOSSqueakCogSpurConfig>>platformName (in category 'accessing') -----
- platformName
- 	^ 'Mac OS'!

Item was removed:
- ----- Method: SqueakMacOSSqueakCogV3Config>>platformName (in category 'accessing') -----
- platformName
- 	^ 'Mac OS'!

Item was removed:
- ----- Method: SqueakMacOSSqueakSistaSpurConfig>>platformName (in category 'accessing') -----
- platformName
- 	^ 'Mac OS'!

Item was removed:
- ----- Method: SqueakMacOSSqueakSistaV3Config>>platformName (in category 'accessing') -----
- platformName
- 	^ 'Mac OS'!

Item was changed:
+ ----- Method: SqueakMacintoshConfig>>executableType (in category 'accessing') -----
- ----- Method: SqueakMacintoshConfig>>executableType (in category 'as yet unclassified') -----
  executableType
  	^ 'MACOSX_BUNDLE'!

Item was added:
+ ----- Method: SqueakMacintoshConfig>>platformName (in category 'accessing') -----
+ platformName
+ 	^self macOSPlatformName!

Item was added:
+ ----- Method: SqueakUnixConfig>>platformName (in category 'accessing') -----
+ platformName
+ 	^self unixPlatformName!

Item was added:
+ ----- Method: SqueakWindowsConfig>>platformName (in category 'as yet unclassified') -----
+ platformName
+ 	^self win32PlatformName!



More information about the Vm-dev mailing list