diff options
author | Florian Klink <flokli@flokli.de> | 2020-09-05 16:07:14 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-09-05 16:07:59 +0200 |
commit | 98d6b55fdc89c679dabdfe2f685bdc224f1642c4 (patch) | |
tree | 962e482f1f34fbd6c66f1a39d97cad1065a9f0ec /nixos/lib/testing-python.nix | |
parent | 4b7401bb5b32d20f7f94e3a61daec9b12d700f32 (diff) |
nixos/testing: remove remaining coverage-data logic
This isn't used anymore as per https://github.com/NixOS/nixpkgs/pull/72354#discussion_r451031449.
Diffstat (limited to 'nixos/lib/testing-python.nix')
-rw-r--r-- | nixos/lib/testing-python.nix | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/nixos/lib/testing-python.nix b/nixos/lib/testing-python.nix index c6939c7d6989c..76a2022082c54 100644 --- a/nixos/lib/testing-python.nix +++ b/nixos/lib/testing-python.nix @@ -63,18 +63,12 @@ rec { mkdir -p $out LOGFILE=/dev/null tests='exec(os.environ["testScript"])' ${driver}/bin/nixos-test-driver - - for i in */xchg/coverage-data; do - mkdir -p $out/coverage-data - mv $i $out/coverage-data/$(dirname $(dirname $i)) - done ''; }; makeTest = { testScript - , makeCoverageReport ? false , enableOCR ? false , name ? "unnamed" # Skip linting (mainly intended for faster dev cycles) @@ -153,7 +147,6 @@ rec { }; test = passMeta (runTests driver); - report = passMeta (releaseTools.gcovReport { coverageRuns = [ test ]; }); nodeNames = builtins.attrNames nodes; invalidNodeNames = lib.filter @@ -169,7 +162,7 @@ rec { Please stick to alphanumeric chars and underscores as separation. '' else - (if makeCoverageReport then report else test) // { + test // { inherit nodes driver test; }; |