Commit 617ff97b authored by Valentin Reis's avatar Valentin Reis
Browse files

Adding overrides to test.nix

parent f4a97dc8
Pipeline #4838 failed
{ pkgs ? import <nixpkgs> {},
testName ? "base"
testName ? "base",
nrm-override ? null,
containers-override ? null,
libnrm-override ? null
testEnv = spec: (import spec.argotest.src {
nrm-src = if (isNull nrm-override) then spec.nrm.src else nrm-override;
libnrm-src = if (isNull libnrm-override) then spec.libnrm.src else libnrm-override;
containers-src = if (isNull containers-override) then spec.containers.src else containers-override;
}).test ;
allTests = import ./tests/default.nix {};
in testEnv allTests."${testName}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment