2023-01-28 07:44:41 +01:00
|
|
|
{ pkgs
|
2022-01-23 02:50:53 +01:00
|
|
|
, 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 {};
|
2022-12-01 09:57:56 +01:00
|
|
|
in tools.runTest {
|
2022-01-23 02:50:53 +01:00
|
|
|
name = "colmena-apply-${evaluator}";
|
2021-11-22 10:52:35 +01:00
|
|
|
|
2022-12-01 09:57:56 +01:00
|
|
|
colmena.test = {
|
|
|
|
bundle = ./.;
|
|
|
|
testScript = ''
|
|
|
|
colmena = "${tools.colmenaExec}"
|
|
|
|
evaluator = "${evaluator}"
|
|
|
|
'' + builtins.readFile ./test-script.py;
|
|
|
|
};
|
2021-11-22 10:52:35 +01:00
|
|
|
}
|