integration-tests: Start migration to modular test framework

Still need to migrate most logic in tools.nix to modules.
This commit is contained in:
Zhaofeng Li 2022-12-01 01:57:56 -07:00
parent 92f0f155d4
commit 8b87f0de02
8 changed files with 280 additions and 190 deletions

View file

@ -4,13 +4,14 @@
let
tools = pkgs.callPackage ../tools.nix {};
in tools.makeTest {
in tools.runTest {
name = "colmena-apply-${evaluator}";
bundle = ./.;
testScript = ''
colmena = "${tools.colmenaExec}"
evaluator = "${evaluator}"
'' + builtins.readFile ./test-script.py;
colmena.test = {
bundle = ./.;
testScript = ''
colmena = "${tools.colmenaExec}"
evaluator = "${evaluator}"
'' + builtins.readFile ./test-script.py;
};
}