Commit e01f9b37 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

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

parent 3d5ac311
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -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;
      }