Skip to content
  • Daniel Vetter's avatar
    lib/drmtest: subtest infrastructure · 9fc7e138
    Daniel Vetter authored
    
    
    To make these helpers as least invasive as possible simply initialize
    the options with a getopt parser and let the control flow be steered
    with a simple helper which gets the subtest name as an argument.
    
    The only tricky part for using it is that the subtest check helper
    doubles up as the conduit to enumerate tests (and in that mode
    prevents any test from being run). It is therefore important that
    nothing gets printed to stdout outside of these checks.
    
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    9fc7e138