diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-08-05 17:33:21 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-08-05 17:33:21 +0200 |
commit | e1fe2f5966796bacdfdac82af448f0d7bb41f7cb (patch) | |
tree | 498b5869699a8da149db335fff9c48eb92eff82f /rules/shell/test/RULES | |
parent | 0bfac2617f7673c9abb903c155dbd8ddffa26a55 (diff) | |
parent | cca709ec12606c2e59169bcd9728665342895a1a (diff) | |
download | rules-cc-e1fe2f5966796bacdfdac82af448f0d7bb41f7cb.tar.gz |
Merge commit 'cca709ec12606c2e59169bcd9728665342895a1a' into HEAD
Diffstat (limited to 'rules/shell/test/RULES')
-rw-r--r-- | rules/shell/test/RULES | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/rules/shell/test/RULES b/rules/shell/test/RULES index d9d8587..a808575 100644 --- a/rules/shell/test/RULES +++ b/rules/shell/test/RULES @@ -28,7 +28,7 @@ , "script": { "doc": ["Shell test, given by a test script"] , "target_fields": ["deps", "test"] - , "string_fields": ["keep", "name"] + , "string_fields": ["keep", "keep-dirs", "name"] , "config_vars": [ "ARCH" , "HOST_ARCH" @@ -67,6 +67,11 @@ , "the test might generate that should be kept as part of the output." , "This might be useful for further analysis of the test" ] + , "keep-dirs": + [ "List of names (relative to the test working directory) of directories" + , "that the test might generate that should be kept as part of the" + , "output. This might be useful for further analysis of the test" + ] , "deps": [ "Any targets that should be staged (with artifacts and runfiles) into" , "the tests working directory" @@ -122,7 +127,8 @@ , " 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" + , "work: In this directory, all the files specified to \"keep\" and" + , " \"keep-dirs\" are staged" , "time-start/time-stop: The time (decimally coded) in seconds since the" , " epoch when the test invocation started and ended." , "pwd: the directory in which the test was carried out" @@ -176,6 +182,7 @@ } ] , ["keep", {"type": "FIELD", "name": "keep"}] + , ["keep-dirs", {"type": "FIELD", "name": "keep-dirs"}] , ["runner", {"type": "FIELD", "name": "runner"}] , ["deps-fieldname", "deps"] , [ "deps-transition" |