3
0
Fork 0
forked from mirrors/nixpkgs

Add a basic test for the latest kernel (currently 3.10)

This commit is contained in:
Eelco Dolstra 2013-07-02 17:12:51 +02:00
parent 84bb988256
commit 7f16abf749
3 changed files with 5 additions and 3 deletions

View file

@ -252,6 +252,7 @@ in {
ipv6 = runTest (t: t.ipv6.test); ipv6 = runTest (t: t.ipv6.test);
kde4 = runTest (t: t.kde4.test); kde4 = runTest (t: t.kde4.test);
login = runTest (t: t.login.test); login = runTest (t: t.login.test);
latestKernel.login = runTest (t: t.latestKernel.login.test);
misc = runTest (t: t.misc.test); misc = runTest (t: t.misc.test);
mpich = runTest (t: t.mpich.test); mpich = runTest (t: t.mpich.test);
mysql = runTest (t: t.mysql.test); mysql = runTest (t: t.mysql.test);

View file

@ -10,7 +10,8 @@ with import ../lib/testing.nix { inherit system minimal; };
installer = makeTests (import ./installer.nix); installer = makeTests (import ./installer.nix);
ipv6 = makeTest (import ./ipv6.nix); ipv6 = makeTest (import ./ipv6.nix);
kde4 = makeTest (import ./kde4.nix); kde4 = makeTest (import ./kde4.nix);
login = makeTest (import ./login.nix); login = makeTest (import ./login.nix {});
latestKernel.login = makeTest (import ./login.nix ({ config, pkgs, ... }: { boot.kernelPackages = pkgs.linuxPackages_latest; }));
misc = makeTest (import ./misc.nix); misc = makeTest (import ./misc.nix);
mpich = makeTest (import ./mpich.nix); mpich = makeTest (import ./mpich.nix);
mysql = makeTest (import ./mysql.nix); mysql = makeTest (import ./mysql.nix);

View file

@ -1,8 +1,8 @@
{ pkgs, ... }: config: { pkgs, ... }:
{ {
machine = { config, pkgs, ... }: { }; machine = config;
testScript = testScript =
'' ''