I want to be able to use an Args object (produced using ctx.actions.args) in creating the command line for a bazel test rule. Unfortunately, it seems I can't execute such a test using ctx.actions.run or similar -- instead, I have to create an executable wrapper script that contains my test binary's command line.
Is there any way to convert an Args object to a shell-escaped string?
(I realize I could just use a list and shell.quote instead of an Args object, but isn't this what the Args object was meant for?)
Thanks in advance,
- Jonathan.