* Start of a GNU integration test (i.e. a variant of the NixOS
ISOs/tests that use the latest tarballs for GNU packages to provide a regression test for those GNU projects). svn path=/nixos/trunk/; revision=20488
This commit is contained in:
parent
a8aefffa09
commit
cfcb5a1544
@ -7,6 +7,7 @@ with import ../lib/testing.nix { inherit nixpkgs services system; };
|
|||||||
|
|
||||||
{
|
{
|
||||||
firefox = apply (import ./firefox.nix);
|
firefox = apply (import ./firefox.nix);
|
||||||
|
gnuIntegration = apply (import ./gnu-integration.nix);
|
||||||
installer = pkgs.lib.mapAttrs (name: complete) (call (import ./installer.nix));
|
installer = pkgs.lib.mapAttrs (name: complete) (call (import ./installer.nix));
|
||||||
kde4 = apply (import ./kde4.nix);
|
kde4 = apply (import ./kde4.nix);
|
||||||
login = apply (import ./login.nix);
|
login = apply (import ./login.nix);
|
||||||
|
20
tests/gnu-integration.nix
Normal file
20
tests/gnu-integration.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
machine =
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
nixpkgs.config.packageOverrides = origPkgs: {
|
||||||
|
cpio = pkgs.lib.overrideDerivation origPkgs.cpio (origAttrs: {
|
||||||
|
src = /home/eelco/Dev/nixpkgs/cpio-2.10.91.tar.bz2;
|
||||||
|
patches = [];
|
||||||
|
});
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
testScript =
|
||||||
|
''
|
||||||
|
$machine->mustSucceed("cpio --help");
|
||||||
|
'';
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user