From 230b76b253f01098274f15b9c9a9140d362813db Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 11 Jul 2024 11:01:15 +0200 Subject: Internal test rules with infastructure: also record pwd --- test/end-to-end/RULES | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'test/end-to-end/RULES') 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": -- cgit v1.2.3