add first evaluations tests

This commit is contained in:
Rob Vermaas
2011-03-16 13:18:12 +00:00
parent 8f35d03bca
commit 890a7867b4
8 changed files with 87 additions and 9 deletions

23
tests/jobs/basic.nix Normal file
View File

@ -0,0 +1,23 @@
{ input }:
{
empty_dir =
derivation {
name = "empty-dir";
system = builtins.currentSystem;
builder = ./empty-dir-builder.sh;
};
fails =
derivation {
name = "fails";
system = builtins.currentSystem;
builder = ./fail.sh;
};
succeed_with_failed =
derivation {
name = "succeed-with-failed";
system = builtins.currentSystem;
builder = ./succeed-with-failed.sh;
};
}