Skip to content

validate:scenario: Cleanup, refactoring and adding some action types to properly test the refactoring

commit a5c5209a95e101aa3bfa3b4cf9c73ecb72af27ab
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon Jun 15 17:32:13 2020 -0400

    validate: Plug some leaks

commit cdcf9a887b4d14d54fde4b9b49ed20e8f3ad841e
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon Jun 15 16:17:55 2020 -0400

    validate: Move action finalization in set_done where it belongs
    
    gst_validate_action_set_done is the place where we should finalize the
    action, not in `execute_next`, this way we better handle printing
    interlaced action finalization too.

commit 0e864982d5ef678d7f96e88266ec8a8e5233c439
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon Jun 15 10:50:14 2020 -0400

    validate:scenario: Replace the `sub-action` with a `foreach` action type
    
    Subaction were really hard to use as the nesting structures synthax
    involves a crazy amount of escaping. Also th implementation was really
    ugly and made the code complex for nothing.
    
    Implement a `foreach` action type instead which will basically repeat
    the actions from the `actions` array the number of time specified by
    any `GstIntRange` value defined in the structure or its `repeat` field.
    
    This commit also makes sure that all action got through
    gst_validate_action_set_done upon finalization.
    
    + Cleanup surrounding code
    + Add tests

commit c152425c3180eb3eb6464010aef81d4849d677f7
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon Jun 15 09:17:55 2020 -0400

    validate: scenario: Implement 'repeat' by copying actions
    
    Instead of trying to reuse the same action structure and deal with
    that in a complex way, copy the action the required number of times.
    
    And add a simple test

commit 65cda6f965577ec6bf4228f04ce515fbb37a18c0
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon Jun 15 09:32:23 2020 -0400

    validate:scenario: Round results of expressions in a sensible way

commit 2aa553893c08d32523365f2d2815ca7ed9544a1b
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon Jun 15 10:54:20 2020 -0400

    launcher: Keep running tests forever on KNOWN_ERROR

commit c9c59b4743943e7dc57c5f06c0ee108f7e0a5349
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon Jun 15 09:37:21 2020 -0400

    validate: Add private action type to check number of action type calls

commit e1e33805289c38e604c69c4831f659575e3eaf1b
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon Jun 15 09:14:16 2020 -0400

    validate:scenario: Avoid dereferencing NULL structure

commit ef52b907fe08df60500b75c6b02f53acb052ca1a
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon Jun 15 09:08:51 2020 -0400

    validate: Fix marking expected issues as criticals
    
    And never mark a repeat expected reports as repeated

commit f13ce7d5daf0cb97c5e578511f2c315d7349f154
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Fri Jun 12 10:08:25 2020 -0400

    validate: Add a way to use the expression parser in any field

commit 642ef89164f47f3345d7479f09cfac0fa176b19b
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Fri Jun 12 10:05:57 2020 -0400

    validate: Allow variables to be set with other types than strings
    
    And use value serialization from GStreamer to convert

commit 882bfb33882d6eaac5f03f9f56d356c727bf2ec6
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Fri Jun 12 09:58:24 2020 -0400

    scenario: Add an action to remove a feature/plugin from the registry

commit 1e2be9d65212c0f5deb9751dfaebada318cc0e34
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Wed Jun 10 17:18:49 2020 -0400

    valiadate: Add a test for setting/checking (timed) properties

commit fc7128dd11e6858bd8ede91067135d4569514a22
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Wed Jun 10 16:44:04 2020 -0400

    validate:scenario: Add action to set and check several properties at once

commit 49e487844a6e4634254f3a7f1a09822bd8360432
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Wed Jun 10 15:39:12 2020 -0400

    validate: Add an action type to set timed value properties
Edited by Thibault Saunier

Merge request reports