Tinderbox/Modules: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (New page: Tinderbox organizes measurements, fixture setup, and fixture teardown into groups called ''modules''. Example modules include the [http://dev.laptop.org/git?p=sugar-jhbuild;a=blob_plain;f...)
 
mNo edit summary
Line 3: Line 3:
Example modules include the [http://dev.laptop.org/git?p=sugar-jhbuild;a=blob_plain;f=config/modulesets/platform.modules;hb=HEAD jhbuild modules], and the [http://dev.laptop.org/git?p=projects/tinderbox;a=blob;f=modulesets/olpc.modules;hb=HEAD "olpc" stub module].
Example modules include the [http://dev.laptop.org/git?p=sugar-jhbuild;a=blob_plain;f=config/modulesets/platform.modules;hb=HEAD jhbuild modules], and the [http://dev.laptop.org/git?p=projects/tinderbox;a=blob;f=modulesets/olpc.modules;hb=HEAD "olpc" stub module].


Modules have phases.
Modules are further subdivided into phases.

Sugar-jhbuild modules have phases such as "start", "checkout", "build", "install".

The "olpc" module has phases including "start", "download", "nandwrite", "boot", "networking", "sugar", "activities", "performance", and "reboot".

A Tinderbox module is a python module such as "jhbuild.modtypes.olpc" (located in the "jhbuild/modtypes/olpc.py).

The phases are implemented as named functions inside Tinderbox python modules, e.g. the "olpc" module's "start" phase is the "do_start(...)" function in jhbuild.modtypes.olpc.

Revision as of 00:58, 26 April 2008

Tinderbox organizes measurements, fixture setup, and fixture teardown into groups called modules.

Example modules include the jhbuild modules, and the "olpc" stub module.

Modules are further subdivided into phases.

Sugar-jhbuild modules have phases such as "start", "checkout", "build", "install".

The "olpc" module has phases including "start", "download", "nandwrite", "boot", "networking", "sugar", "activities", "performance", and "reboot".

A Tinderbox module is a python module such as "jhbuild.modtypes.olpc" (located in the "jhbuild/modtypes/olpc.py).

The phases are implemented as named functions inside Tinderbox python modules, e.g. the "olpc" module's "start" phase is the "do_start(...)" function in jhbuild.modtypes.olpc.