summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/RULES57
1 files changed, 0 insertions, 57 deletions
diff --git a/test/RULES b/test/RULES
deleted file mode 100644
index b8d8116..0000000
--- a/test/RULES
+++ /dev/null
@@ -1,57 +0,0 @@
-{ "suite":
- { "doc":
- [ "Form a compound target out of many test targets."
- , ""
- , "More precisely, take the runfiles of the given \"deps\", take their"
- , "disjoint union and stage the result. Also propagate relevant"
- , "providers."
- ]
- , "tainted": ["test"]
- , "target_fields": ["deps"]
- , "string_fields": ["stage"]
- , "field_doc":
- { "deps": ["The targets that suite is composed of."]
- , "stage":
- [ "The logical location this test suite is to be placed."
- , "Individual entries will be joined with \"/\"."
- ]
- }
- , "artifacts_doc":
- [ "The disjoint union of the runfiles of the \"deps\" targets"
- , "staged as the location given by \"stage\"."
- ]
- , "runfiles_doc": ["Same as artifacts."]
- , "imports":
- { "runfiles": ["", "field_runfiles"]
- , "list_provider": ["", "field_list_provider"]
- }
- , "expression":
- { "type": "let*"
- , "bindings":
- [ ["fieldname", "deps"]
- , ["runfiles", {"type": "CALL_EXPRESSION", "name": "runfiles"}]
- , [ "stage"
- , { "type": "join"
- , "separator": "/"
- , "$1": {"type": "FIELD", "name": "stage"}
- }
- ]
- , [ "staged results"
- , { "type": "to_subdir"
- , "subdir": {"type": "var", "name": "stage"}
- , "$1": {"type": "var", "name": "runfiles"}
- }
- ]
- , ["provider", "lint"]
- , ["lint", {"type": "CALL_EXPRESSION", "name": "list_provider"}]
- , ["lint", {"type": "nub_right", "$1": {"type": "var", "name": "lint"}}]
- ]
- , "body":
- { "type": "RESULT"
- , "artifacts": {"type": "var", "name": "staged results"}
- , "runfiles": {"type": "var", "name": "staged results"}
- , "provides": {"type": "env", "vars": ["lint"]}
- }
- }
- }
-}