Tinderbox/Modules

From OLPC
< Tinderbox
Revision as of 00:58, 26 April 2008 by Mstone (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.