diff options
-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 |