[Skiboot] boot_test.sh merged
stewart at linux.vnet.ibm.com
Wed Apr 29 15:11:57 AEST 2015
as you know, I'm pretty keen on extereme automated testing.
One thing that I've wanted to do is have automated IPL testing for any
in-development skiboot (e.g. so I can ensure that master always boots).
Daniel and Cyril have worked on this thing called boot_test.sh which
takes a LID/pnor and flashes/copies it onto the pnor/fsp of the target
machine and boots it, then waiting for petitboot to come up.
The aim of this is to get it to a state where we could have jenkins
easily and painlessly running this as well as have an advanced "make
check" that will go and boot on machines you have available.
Step two is to add tests apart from "it boots, ship it!"
Obviously, more advanced tests are done before we get products out the
door, but so far, the automation work done by test teams has been more
geared towards consuming done firmware builds for specific machines
rather than geared towards use case of firmware developers.
Patches to boot_tests.sh readily accepted as well as reports on how it
works for you.
(no promises it even stays as shell... could turn into perl, C,
err... anything but python with 1800 unpackaged libs and a dependency on
the one version of python you don't have installed </python-rant>)
More information about the Skiboot