Formatting the virtual card works too, both from Canon and ML (of course, on 500D)
This is the first test in the suite that runs an unmodified ML binary. It actually downloads the current nightly build (at the time of writing) and checks both the GUI (expected screens) and the card contents (whether ML still boots after being restored).Test log
This log should also contain useful info (what commands to run), should you want to reproduce these experiments on your PC. I should probably write a guide, other than the tips from the install script.
Menu screens currently covered by the test suite:
There are still some nondeterministic bugs (that's why some tests are retried a few times, until sucess); those will need fixing before using QEMU as a test platform for ML builds. Still, it already starts to be useful (for example, for getting menu screenshots).
At this stage, I think the old implementation
is no longer useful, so we may start thinking about merging the QEMU branch into unified. This will remove most of those CONFIG_QEMU hacks from the source code.
BTW, if you have experience with some testing framework, and you know a nicer way to implement the current tests
, I'd be interested in hearing from you.