diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-08-17 14:08:22 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-08-17 14:39:45 +0200 |
commit | 070e96c28007faff99bc272d40480855e7e3837a (patch) | |
tree | 0a509e5087868af33b372ccdbb518cab303db412 /rules | |
parent | 2cb273c2dc53e2cdacd1470425a85fceb8944cfc (diff) | |
download | justbuild-070e96c28007faff99bc272d40480855e7e3837a.tar.gz |
["CC/test", "test"] rename implict dependency
... and document at the appropriate place
Diffstat (limited to 'rules')
-rw-r--r-- | rules/CC/test/RULES | 15 | ||||
-rwxr-xr-x | rules/CC/test/runner (renamed from rules/CC/test/test_runner.py) | 0 |
2 files changed, 13 insertions, 2 deletions
diff --git a/rules/CC/test/RULES b/rules/CC/test/RULES index 41507d7e..af413a9b 100644 --- a/rules/CC/test/RULES +++ b/rules/CC/test/RULES @@ -29,7 +29,7 @@ ] , "implicit": { "defaults": [["./", "..", "defaults"]] - , "runner": ["test_runner.py"] + , "runner": ["runner"] , "summarizer": [["./", "../../shell/test", "summarizer"]] } , "field_doc": @@ -39,7 +39,18 @@ , "Used to name the test binary as well as for staging the test result" ] , "args": ["Command line arguments for the test binary"] - , "srcs": ["The sources of the test binary"] + , "srcs": + [ "The sources of the test binary" + , "" + , "The resulting test binary in an environment where it can assume" + , "that the environment variable TEST_TMPDIR points to a" + , "director that may be used exclusively by this test." + , "" + , "This running of the test is carried out by the implicit dependency" + , "on the target \"runner\". By setting this target in the target layer" + , "of this rues repository (instead of letting it default to the" + , "respective file), the C/C++ test environment can be modified globally." + ] , "private-hdrs": [ "Any additional header files that need to be present when compiling" , "the test binary." diff --git a/rules/CC/test/test_runner.py b/rules/CC/test/runner index 0647621f..0647621f 100755 --- a/rules/CC/test/test_runner.py +++ b/rules/CC/test/runner |