colmena/integration-tests/apply/default.nix
Zhaofeng Li 8b87f0de02 integration-tests: Start migration to modular test framework
Still need to migrate most logic in tools.nix to modules.
2022-12-01 01:57:56 -07:00

17 lines
347 B
Nix

{ pkgs ? import ../nixpkgs.nix
, evaluator ? "chunked"
}:
let
tools = pkgs.callPackage ../tools.nix {};
in tools.runTest {
name = "colmena-apply-${evaluator}";
colmena.test = {
bundle = ./.;
testScript = ''
colmena = "${tools.colmenaExec}"
evaluator = "${evaluator}"
'' + builtins.readFile ./test-script.py;
};
}