diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-04-26 09:34:11 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-04-26 16:32:44 +0200 |
commit | d5dfcc32ea3a024203518a3b118af127cfc5c672 (patch) | |
tree | 58f8010b9ea07d1980c2ba3265ec569f3553d178 /shell/test | |
parent | cf6942ed6f8dc22209f8570faa39b3a6231f546f (diff) | |
download | rules-cc-d5dfcc32ea3a024203518a3b118af127cfc5c672.tar.gz |
Improve documenatation of our internal rules
In particular, document the result for the most important
rules.
Diffstat (limited to 'shell/test')
-rw-r--r-- | shell/test/RULES | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/shell/test/RULES b/shell/test/RULES index d61f21f..74a0b78 100644 --- a/shell/test/RULES +++ b/shell/test/RULES @@ -26,6 +26,20 @@ ] } , "tainted": ["test"] + , "artifacts_doc": + [ "result: the result of this test (\"PASS\" or \"FAIL\"); useful for" + , " generating test reports." + , "stdout/stderr: Any output the invocation of the test binary produced on" + , " the respective file descriptor" + , "work: In this directory, all the files specified to \"keep\" are staged" + , "time-start/time-stop: The time (decimally coded) in seconds since the" + , " epoch when the test invocation started and ended." + ] + , "runfiles_doc": + [ "A tree consisting of the artifacts staged at the name of the test." + , "As the built-in \"install\" rule only takes the runfiles of its \"deps\"" + , "argument, this gives an easy way of defining test suites." + ] , "implicit": {"runner": ["test_runner.sh"], "summarizer": ["test_summary.py"]} , "imports": |