2022-01-23 02:50:53 +01:00
|
|
|
{ pkgs ? import ../nixpkgs.nix
|
|
|
|
, evaluator ? "chunked"
|
|
|
|
}:
|
2021-12-08 08:13:31 +01:00
|
|
|
|
2021-11-22 10:52:35 +01:00
|
|
|
let
|
2021-12-08 08:13:31 +01:00
|
|
|
tools = pkgs.callPackage ../tools.nix {};
|
2021-11-22 10:52:35 +01:00
|
|
|
in tools.makeTest {
|
2022-01-23 02:50:53 +01:00
|
|
|
name = "colmena-apply-${evaluator}";
|
2021-11-22 10:52:35 +01:00
|
|
|
|
|
|
|
bundle = ./.;
|
|
|
|
|
|
|
|
testScript = ''
|
2021-12-04 10:03:26 +01:00
|
|
|
colmena = "${tools.colmenaExec}"
|
2022-01-23 02:50:53 +01:00
|
|
|
evaluator = "${evaluator}"
|
2021-12-04 10:03:26 +01:00
|
|
|
'' + builtins.readFile ./test-script.py;
|
2021-11-22 10:52:35 +01:00
|
|
|
}
|