Skip to content
  • Pekka Paalanen's avatar
    tests: add color-metadata-errors test · ccb4c383
    Pekka Paalanen authored and Pekka Paalanen's avatar Pekka Paalanen committed
    
    
    'color_characteristics_config_error' test ensures that all code paths in
    parse_color_characteristics() and wet_output_set_color_characteristics()
    get exercised.  The return value and logged error messages are checked.
    
    Other cases test the weston_hdr_metadata_type1 validation.
    
    These are for the sake of test coverage, but also an example of how to
    test a function from main.c, and how to capture messages from
    weston_log().
    
    Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
    ccb4c383
Loading