diff options
Diffstat (limited to 'tests/functional/parallel.nix')
-rw-r--r-- | tests/functional/parallel.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/functional/parallel.nix b/tests/functional/parallel.nix new file mode 100644 index 000000000..23f142059 --- /dev/null +++ b/tests/functional/parallel.nix @@ -0,0 +1,19 @@ +{sleepTime ? 3}: + +with import ./config.nix; + +let + + mkDrv = text: inputs: mkDerivation { + name = "parallel"; + builder = ./parallel.builder.sh; + inherit text inputs shared sleepTime; + }; + + a = mkDrv "a" []; + b = mkDrv "b" [a]; + c = mkDrv "c" [a]; + d = mkDrv "d" [a]; + e = mkDrv "e" [b c d]; + +in e |