Skip to content
  • Andres Gomez's avatar
    functionaltests: adapt compare test to new replayer · 6ee0d2e9
    Andres Gomez authored
    
    
    v2:
      - Respect the 3 possible return values when invoking
        compare.compare.
    
    v3:
      - Do not use "len()" to check for containers emptiness (Dylan).
      - Use newly added compare result enumeration.
      - Add extension check to the testtrace backend.
    
    v4:
      - Return directly from within the context manager (Dylan).
      - Use os.path.join instead of just concatenating strings (Dylan).
      - Use textwrap.dedent to enhance readability (Dylan).
    
    Signed-off-by: default avatarAndres Gomez <agomez@igalia.com>
    Reviewed-by: default avatarDylan Baker <dylan@pnwbakers.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/353>
    6ee0d2e9