diff mbox series

[1/1] package/igt-gpu-tools: disable tests

Message ID 20240331100955.793371-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/igt-gpu-tools: disable tests | expand

Commit Message

Fabrice Fontaine March 31, 2024, 10:09 a.m. UTC
Disable tests to avoid the following build failure raised since the
addition of the package in commit
d8a729d1731339da141612be33c5e59bc9928748:

../tests/intel/kms_pm_backlight.c: In function '__igt_unique____real_main257':
../tests/intel/kms_pm_backlight.c:320:32: error: implicit declaration of function 'basename'; did you mean 'rename'? [-Werror=implicit-function-declaration]
  320 |                         name = basename(full_name);
      |                                ^~~~~~~~
      |                                rename

Fixes: d8a729d1731339da141612be33c5e59bc9928748
 - http://autobuild.buildroot.org/results/ff5de58ca9408f3a4fc6b6d5bd8c62093c1021ad

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/igt-gpu-tools/igt-gpu-tools.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Yann E. MORIN April 1, 2024, 12:51 p.m. UTC | #1
Fabrice, All,

On 2024-03-31 12:09 +0200, Fabrice Fontaine spake thusly:
> Disable tests to avoid the following build failure raised since the
> addition of the package in commit
> d8a729d1731339da141612be33c5e59bc9928748:
> 
> ../tests/intel/kms_pm_backlight.c: In function '__igt_unique____real_main257':
> ../tests/intel/kms_pm_backlight.c:320:32: error: implicit declaration of function 'basename'; did you mean 'rename'? [-Werror=implicit-function-declaration]
>   320 |                         name = basename(full_name);
>       |                                ^~~~~~~~
>       |                                rename
> 
> Fixes: d8a729d1731339da141612be33c5e59bc9928748
>  - http://autobuild.buildroot.org/results/ff5de58ca9408f3a4fc6b6d5bd8c62093c1021ad
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/igt-gpu-tools/igt-gpu-tools.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/igt-gpu-tools/igt-gpu-tools.mk b/package/igt-gpu-tools/igt-gpu-tools.mk
> index 927a1225a5..5250950ee4 100644
> --- a/package/igt-gpu-tools/igt-gpu-tools.mk
> +++ b/package/igt-gpu-tools/igt-gpu-tools.mk
> @@ -10,6 +10,7 @@ IGT_GPU_TOOLS_SITE = https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/archive/
>  IGT_GPU_TOOLS_LICENSE = MIT
>  IGT_GPU_TOOLS_LICENSE_FILES = COPYING
>  IGT_GPU_TOOLS_INSTALL_STAGING = YES
> +IGT_GPU_TOOLS_CONF_OPTS = -Dtests=disabled
>  IGT_GPU_TOOLS_DEPENDENCIES = \
>  	host-pkgconf \
>  	cairo \
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/igt-gpu-tools/igt-gpu-tools.mk b/package/igt-gpu-tools/igt-gpu-tools.mk
index 927a1225a5..5250950ee4 100644
--- a/package/igt-gpu-tools/igt-gpu-tools.mk
+++ b/package/igt-gpu-tools/igt-gpu-tools.mk
@@ -10,6 +10,7 @@  IGT_GPU_TOOLS_SITE = https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/archive/
 IGT_GPU_TOOLS_LICENSE = MIT
 IGT_GPU_TOOLS_LICENSE_FILES = COPYING
 IGT_GPU_TOOLS_INSTALL_STAGING = YES
+IGT_GPU_TOOLS_CONF_OPTS = -Dtests=disabled
 IGT_GPU_TOOLS_DEPENDENCIES = \
 	host-pkgconf \
 	cairo \