On Thu Aug 28, 2025 at 12:20 AM CEST, a-christidis wrote:
> From: Antonios Christidis <[email protected]>
>
> The SDL2 software comes with its own set of tests. Following that
> introduce support for ptest.
>
> Signed-off-by: Antonios Christidis <[email protected]>
> ---

Hi Antonios,

> --- /dev/null
> +++ b/meta/recipes-graphics/libsdl2/libsdl2/run-ptest
> @@ -0,0 +1,15 @@
> +#!/bin/sh
> +
> +test_array=("testdraw2" "testgeometry" "testsprite2" "testgles2" 
> "testoffscreen")

Arrays are only valid with bash, not with POSIX shell. This is failing
on the autobuilder:

AssertionError:
Failed ptests:
{'libsdl2': 'START: ptest-runner\n'
            '2025-09-03T06:28\n'
            '/usr/lib/libsdl2/ptest/run-ptest: line 3: syntax error: '
            'unexpected "("\n'
            '\n'
            'ERROR: Exit status is 2\n'
            'DURATION: 0\n'}

https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/2215

Can you fix the syntax please?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#222849): 
https://lists.openembedded.org/g/openembedded-core/message/222849
Mute This Topic: https://lists.openembedded.org/mt/114926113/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to