[PATCH i-g-t v2 5/9] tests/intel/xe_exec_queue_property: Update first invalid property value

Teres Alexis, Alan Previn alan.previn.teres.alexis at intel.com
Thu Jan 16 22:06:28 UTC 2025


Reviewed-by: Alan Previn <alan.previn.teres.alexis at intel.com>


On Wed, 2025-01-15 at 16:19 -0800, Daniele Ceraolo Spurio wrote:
> A new property was added with ID 2, so the invalid property testing
> should start from ID 3.
> 
> No new tests are added to test the new property as that will be
> covered by the PXP tests.
> 
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> ---
>  tests/intel/xe_exec_queue_property.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/intel/xe_exec_queue_property.c b/tests/intel/xe_exec_queue_property.c
> index 25a7e7abb..885d5bcc9 100644
> --- a/tests/intel/xe_exec_queue_property.c
> +++ b/tests/intel/xe_exec_queue_property.c
> @@ -183,7 +183,7 @@ static void invalid_property(int xe)
>  
>         /* This will fail as soon as a new property is introduced. It is
>          * expected and the test will have to be updated. */
> -       for (int i = 2; i < 16; i++ ) {
> +       for (int i = 3; i < 16; i++ ) {
>                 ext.property = i;
>                 igt_assert_eq(__xe_exec_queue_create(xe, vm, 1, 1, &instance,
>                                                      to_user_pointer(&ext), &exec_queue_id), -EINVAL);



More information about the igt-dev mailing list