Skip to content

Commit e01f9b3

Browse files
committed
sdl3: passthru sdl3-{image,ttf}, sdl2-compat and SDL_compat tests
1 parent 3d5ac31 commit e01f9b3

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

pkgs/by-name/sd/sdl3/package.nix

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
wayland-scanner,
3434
xorg,
3535
zenity,
36+
# for passthru.tests
37+
SDL_compat,
38+
sdl2-compat,
39+
sdl3-image,
40+
sdl3-ttf,
3641
alsaSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
3742
dbusSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
3843
drmSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
@@ -204,7 +209,15 @@ stdenv.mkDerivation (finalAttrs: {
204209
});
205210

206211
tests =
207-
{
212+
SDL_compat.tests
213+
// sdl2-compat.tests
214+
// {
215+
inherit
216+
SDL_compat
217+
sdl2-compat
218+
sdl3-image
219+
sdl3-ttf
220+
;
208221
pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
209222
inherit (finalAttrs.passthru) debug-text-example;
210223
}

0 commit comments

Comments
 (0)