Merge pull request #121587 from hercules-ci/nixos-test-inline-doc

testing-python.nix: document runTests pos argument
This commit is contained in:
Andreas Rammhold 2021-05-03 22:48:10 +02:00 committed by GitHub
commit 7cb7620008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,8 +54,13 @@ rec {
};
# Run an automated test suite in the given virtual network.
# `driver' is the script that runs the network.
runTests = { driver, pos }:
runTests = {
# the script that runs the network
driver,
# a source position in the format of builtins.unsafeGetAttrPos
# for meta.position
pos,
}:
stdenv.mkDerivation {
name = "vm-test-run-${driver.testName}";