mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
sdl3: passthru sdl3-{image,ttf}, sdl2-compat and SDL_compat tests
This commit is contained in:
parent
3d5ac3112d
commit
e01f9b3782
1 changed files with 14 additions and 1 deletions
|
@ -33,6 +33,11 @@
|
||||||
wayland-scanner,
|
wayland-scanner,
|
||||||
xorg,
|
xorg,
|
||||||
zenity,
|
zenity,
|
||||||
|
# for passthru.tests
|
||||||
|
SDL_compat,
|
||||||
|
sdl2-compat,
|
||||||
|
sdl3-image,
|
||||||
|
sdl3-ttf,
|
||||||
alsaSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
|
alsaSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
|
||||||
dbusSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
|
dbusSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
|
||||||
drmSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
|
drmSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
|
||||||
|
@ -204,7 +209,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
});
|
});
|
||||||
|
|
||||||
tests =
|
tests =
|
||||||
{
|
SDL_compat.tests
|
||||||
|
// sdl2-compat.tests
|
||||||
|
// {
|
||||||
|
inherit
|
||||||
|
SDL_compat
|
||||||
|
sdl2-compat
|
||||||
|
sdl3-image
|
||||||
|
sdl3-ttf
|
||||||
|
;
|
||||||
pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
|
pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
|
||||||
inherit (finalAttrs.passthru) debug-text-example;
|
inherit (finalAttrs.passthru) debug-text-example;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue