Skip to content

validate: Add support to iterate over array in `foreach` loops

Thibault Saunier requested to merge thiblahute/gst-devtools:foreach_array into master
commit 561aef255e7d9ccc120f7fbce3fd218173222666
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Tue May 25 21:25:14 2021 -0400

    validate: Error out on invalid 'foreach' iterator types

commit 1c0d1769d69416c1ef1dc2abc3e6d52f7301305d
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Tue May 25 21:00:09 2021 -0400

    validate: Handle unknown type in foreach types

commit e2a4479c3db62b37866a1261eb9bbfc9ecc39675
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon May 24 01:26:41 2021 -0400

    validate: Make array delemiter a line continuation char
    
    Making its usage more friendly

commit f033747af7ec7e9e9df7d2161d781052130402bd
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon May 24 01:20:47 2021 -0400

    validate:scenario: Allow iterating over arrays in `foreach`
    
    We used to only support ranges, but we want to allow iterating over
    values in an array too.

commit eb2082cd518a53f3349ba237c69271c7528a2b8e
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Mon May 24 01:19:13 2021 -0400

    validate: Add a flag to allow defining how to resolve variables in structs

commit 16d493f1651c625068b43d19d3d679e20d54bd32
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Sun May 23 22:43:04 2021 -0400

    validate:flow: Log caps features
    
    No reason not to use directy the GstCaps serialization function here
    This commits avoids needing regenerated all expectations to remove
    the `;` which is not generated anymore as it is simple and makes
    merging simpler.

Merge request reports