summaryrefslogtreecommitdiff
path: root/test/end-to-end/RULES
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-07-11 11:01:15 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-07-12 09:58:33 +0200
commit230b76b253f01098274f15b9c9a9140d362813db (patch)
treea9b56cc1406e6663df25adaa83ef3ba25142e4a2 /test/end-to-end/RULES
parent35bbafcc904d1d9cdfd353802a6ed9c73a7f1713 (diff)
downloadjustbuild-230b76b253f01098274f15b9c9a9140d362813db.tar.gz
Internal test rules with infastructure: also record pwd
Diffstat (limited to 'test/end-to-end/RULES')
-rw-r--r--test/end-to-end/RULES13
1 files changed, 11 insertions, 2 deletions
diff --git a/test/end-to-end/RULES b/test/end-to-end/RULES
index 6d0e11cc..ceb6da7c 100644
--- a/test/end-to-end/RULES
+++ b/test/end-to-end/RULES
@@ -80,6 +80,7 @@
, "work: In this directory, all the files specified to \"keep\" 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"
]
, "runfiles_doc":
[ "A tree consisting of the artifacts staged at the name of the test."
@@ -205,7 +206,11 @@
, [ "artifacts"
, { "type": "map_union"
, "$1":
- [ {"type": "var", "name": "summary"}
+ [ { "type": "singleton_map"
+ , "key": "pwd"
+ , "value": {"type": "BLOB", "data": "/summary"}
+ }
+ , {"type": "var", "name": "summary"}
, { "type": "singleton_map"
, "key": "work"
, "value":
@@ -483,7 +488,11 @@
, [ "artifacts"
, { "type": "map_union"
, "$1":
- [ {"type": "var", "name": "summary"}
+ [ { "type": "singleton_map"
+ , "key": "pwd"
+ , "value": {"type": "BLOB", "data": "/summary"}
+ }
+ , {"type": "var", "name": "summary"}
, { "type": "singleton_map"
, "key": "work"
, "value":