[V3dot10] Auto-build progress

Keith Hodges keith_hodges at yahoo.co.uk
Tue Jan 30 15:11:55 UTC 2007


Dear Ralph,

You can do it all in one go or you can separate it into stages.

Note that the script I am using here is the 'make' script which triggers 
by editing the pages of the website prefixed 'make'. There is no reason 
at all why you could not write a different script for testing, and call 
it 'test'. All that these scripts do is prepare the environment 
surrounding squeak, for example obtaining the initial image, and 
providing an empty directory in which to work and saving results to a 
known place.

For the building a base image. (the default behaviour of make is to 
finish with save and quit)

---
name: Squeak 3.9.1
moniker: 391
by: bod
image: ftp://ftp.squeak.org/3.9/Squeak3.9-final-7067.zip
parameters:
 - path=http://squeak310.pbwiki.com/
 - install=From39To391
comment: The base 3.9.1 image
latest: true
...

For testing the base image, we could do a build which starts with the 
image that we built in the previous make.

Using the make system for testing...

Page: "Make 391Test"
---
name: Squeak 3.9.1
moniker: 391Test
image: ../input/make/391/LATEST/391.image
parameters:
 - path=http://squeak310.pbwiki.com/
 - install=AllPackagesInTheUniverse
 - TestRunner
 - SmalltalkImage +quit
...

This loads all of the packages in the whole universe, depending upon the 
script on page 'AllPackagesInTheUniverse' and runs all of the tests.
The test report is available via the webserver at.
http://squeak.warwick.st/auto-build/wip/make/391Test/*.txt

-----

Now if we want to be cleverer than that, we could at a method 
#launchWith: to the class which manages Package Universes, so that this 
can take parameters. Or we could write our own custom class which loads 
one package at a time and tests it as it goes.

Page: "Make 391Test"
---
name: Squeak 3.9.1
moniker: 391Test
image: ../input/make/391/LATEST/391.image
parameters:
 - path=http://squeak310.pbwiki.com/
 - PackageUniverses
 - install=*
 - TestRunner
 - SmalltalkImage +quit
...

does this help?

Keith












	
	
		
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html


More information about the V3dot10 mailing list