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 | a495d8b8c8eb23656da03eb152b7b4c25f6703c6 (patch) | |
tree | 15880346015504fcdbf28863fa099399dd28180c /rules/shell/test | |
parent | e93f8e63d6c49d015b8e8b367cbc13d3a2c755f8 (diff) | |
download | justbuild-a495d8b8c8eb23656da03eb152b7b4c25f6703c6.tar.gz |
Improve documenatation of our internal rules
In particular, document the result for the most important
rules.
Diffstat (limited to 'rules/shell/test')
-rw-r--r-- | rules/shell/test/RULES | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/rules/shell/test/RULES b/rules/shell/test/RULES index d61f21fc..74a0b781 100644 --- a/rules/shell/test/RULES +++ b/rules/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": |