[PATCH v2 5/6] dts: add conditional behavior for test suite

Jeremy Spewock jspewock at iol.unh.edu
Tue Jul 16 16:59:04 CEST 2024


I think it makes sense to allow users to not specify any test suites
in the config file if they specify them through other means, so I like
this change.

On Fri, Jul 5, 2024 at 1:20 PM Nicholas Pratte <npratte at iol.unh.edu> wrote:
>
> There is some odd functionality/behavior in how the --test-suite
> parameters interacts in conjunction with the 'test_suites' attribute in
> the config file. If a user leaves an empty list underneath
> 'test_suites,' or if they negate the attribute entirely, even if said
> user adds test suites via the --test-suite parameter, a schema violation
> is thrown.
>
> This patch mitigates this, by removing the schema requirement if the
> user has indicated test suites within main.py parameters, allowing for
> the 'test_suites' attribute to be optional.
>
> Bugzilla ID: 1360
> Signed-off-by: Nicholas Pratte <npratte at iol.unh.edu>

Reviewed-by: Jeremy Spewock <jspewock at iol.unh.edu>


More information about the dev mailing list