Unverified Commit 059871ff authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

buildMozillaMach: change tests to an attrset (#349768)

parents fdfb6e91 f3a4421f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
, extraBuildInputs ? []
, extraMakeFlags ? []
, extraPassthru ? {}
, tests ? []
, tests ? {}
}:

let
+4 −4
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
      license = lib.licenses.mpl20;
      mainProgram = "firefox";
    };
    tests = [ nixosTests.firefox ];
    tests = { inherit (nixosTests) firefox; };
    updateScript = callPackage ./update.nix {
      attrPath = "firefox-unwrapped";
    };
@@ -55,7 +55,7 @@
      license = lib.licenses.mpl20;
      mainProgram = "firefox";
    };
    tests = [ nixosTests.firefox-beta ];
    tests = { inherit (nixosTests) firefox-beta; };
    updateScript = callPackage ./update.nix {
      attrPath = "firefox-beta-unwrapped";
      versionSuffix = "b[0-9]*";
@@ -86,7 +86,7 @@
      license = lib.licenses.mpl20;
      mainProgram = "firefox";
    };
    tests = [ nixosTests.firefox-devedition ];
    tests = { inherit (nixosTests) firefox-devedition; };
    updateScript = callPackage ./update.nix {
      attrPath = "firefox-devedition-unwrapped";
      versionSuffix = "b[0-9]*";
@@ -115,7 +115,7 @@
      license = lib.licenses.mpl20;
      mainProgram = "firefox";
    };
    tests = [ nixosTests.firefox-esr-128 ];
    tests = { inherit (nixosTests) firefox-esr-128; };
    updateScript = callPackage ./update.nix {
      attrPath = "firefox-esr-128-unwrapped";
      versionPrefix = "128";
+3 −1
Original line number Diff line number Diff line
@@ -58,7 +58,9 @@
      license = lib.licenses.mpl20;
      mainProgram = "floorp";
    };
    tests = [ nixosTests.floorp ];
    tests = {
      inherit (nixosTests) floorp;
    };
  }).override
  {
    # Upstream build configuration can be found at
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ in
    license = lib.licenses.mpl20;
    mainProgram = "librewolf";
  };
  tests = [ nixosTests.librewolf ];
  tests = { inherit (nixosTests) librewolf; };
  updateScript = callPackage ./update.nix {
    attrPath = "librewolf-unwrapped";
  };