Tinderbox/Modules
Jump to navigation
Jump to search
Tinderbox organizes measurements, fixture setup, and fixture teardown into groups called modules.
- Module source code is located in Tinderbox's jhbuild.modtypes python package.
- Modules are implemented as python modules such as jhbuild.modtypes.olpc.
- Tinderbox learns about modules by reading XML descriptors called "modulesets". Example modulesets include the jhbuild modules and the "olpc" moduleset.
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".
- 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.