r24345: Add --format=html option to selftest.