diff options
-rw-r--r-- | CC/test/RULES | 5 | ||||
-rw-r--r-- | shell/test/RULES | 14 | ||||
-rwxr-xr-x | shell/test/runner (renamed from shell/test/test_runner.sh) | 0 | ||||
-rwxr-xr-x | shell/test/summarizer (renamed from shell/test/test_summary.py) | 0 |
4 files changed, 16 insertions, 3 deletions
diff --git a/CC/test/RULES b/CC/test/RULES index 8dba363..41507d7 100644 --- a/CC/test/RULES +++ b/CC/test/RULES @@ -30,7 +30,7 @@ , "implicit": { "defaults": [["./", "..", "defaults"]] , "runner": ["test_runner.py"] - , "summarizer": [["./", "../../shell/test", "test_summary.py"]] + , "summarizer": [["./", "../../shell/test", "summarizer"]] } , "field_doc": { "name": @@ -88,6 +88,9 @@ , "RUNS_PER_TEST": [ "The number of times the test should be run in order to detect flakyness." , "If set, no test action will be taken from cache." + , "" + , "Test runs are summarized by the [\"shell/test\", \"summarizer\"] that" + , "is also used by shell tests." ] , "TARGET_ARCH": [ "The architecture to build the test for." diff --git a/shell/test/RULES b/shell/test/RULES index 117a060..c4f8569 100644 --- a/shell/test/RULES +++ b/shell/test/RULES @@ -20,6 +20,11 @@ , "TEST_TMPDIR. The test should not assume write permissions" , "outside the working directory and the TEST_TMPDIR." , "For convenience, the environment variable TMPDIR is also set to TEST_TMPDIR." + , "" + , "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 shell test environment can be modified globally." ] , "name": [ "A name for the test, used in reporting, as well as for staging" @@ -39,6 +44,12 @@ { "RUNS_PER_TEST": [ "The number of times the test should be run in order to detect flakyness." , "If set, no test action will be taken from cache." + , "" + , "The individual test runs will be summarized by the implict dependency" + , "on the target \"summarizer\". By setting this target in the target" + , "in the target layer of this rues repository (instead of letting it" + , "default to the respective file) the layout of the summary can be" + , "changed globally." ] , "TEST_ENV": ["The environment for executing the test runner."] , "TIMEOUT_SCALE": @@ -72,8 +83,7 @@ , "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"]} + , "implicit": {"runner": ["runner"], "summarizer": ["summarizer"]} , "imports": { "test-result": "test-result" , "action": "test-action" diff --git a/shell/test/test_runner.sh b/shell/test/runner index a99d5b7..a99d5b7 100755 --- a/shell/test/test_runner.sh +++ b/shell/test/runner diff --git a/shell/test/test_summary.py b/shell/test/summarizer index 0b5e656..0b5e656 100755 --- a/shell/test/test_summary.py +++ b/shell/test/summarizer |