sdl3: passthru sdl3-{image,ttf}, sdl2-compat and SDL_compat tests

This commit is contained in:
Peder Bergebakken Sundt 2025-05-20 00:36:35 +02:00
parent 3d5ac3112d
commit e01f9b3782

View file

@ -33,6 +33,11 @@
wayland-scanner,
xorg,
zenity,
# for passthru.tests
SDL_compat,
sdl2-compat,
sdl3-image,
sdl3-ttf,
alsaSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
dbusSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
drmSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
@ -204,7 +209,15 @@ stdenv.mkDerivation (finalAttrs: {
});
tests =
{
SDL_compat.tests
// sdl2-compat.tests
// {
inherit
SDL_compat
sdl2-compat
sdl3-image
sdl3-ttf
;
pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
inherit (finalAttrs.passthru) debug-text-example;
}