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 | 78540814ad421bc02a4f6c7396d81c38c95ef503 (patch) | |
tree | 7e3be21a77dd9a93dd9324179232ed4ddaa5b161 /CC/test | |
parent | 4fa5efa1f520fd58da16f09d74998c944bc3a14d (diff) | |
download | rules-cc-78540814ad421bc02a4f6c7396d81c38c95ef503.tar.gz |
["CC/test", "test"] rename implict dependency
... and document at the appropriate place
Diffstat (limited to 'CC/test')
-rw-r--r-- | CC/test/RULES | 15 | ||||
-rwxr-xr-x | CC/test/runner (renamed from CC/test/test_runner.py) | 0 |
2 files changed, 13 insertions, 2 deletions
diff --git a/CC/test/RULES b/CC/test/RULES index 41507d7..af413a9 100644 --- a/CC/test/RULES +++ b/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/CC/test/test_runner.py b/CC/test/runner index 0647621..0647621 100755 --- a/CC/test/test_runner.py +++ b/CC/test/runner |