aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-11-30 22:42:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-12-08 14:26:22 +0300
commitfb34688841668e6e4c939395c8387feabe8ddfdf (patch)
tree5e0da2e74cee981337f9cd19d148e9824d7d3c36 /libbuild2/build/script
parent121a075bc2558003990377843393ca27d784f50f (diff)
Add support for config.test.runner
Diffstat (limited to 'libbuild2/build/script')
-rw-r--r--libbuild2/build/script/parser.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/libbuild2/build/script/parser.cxx b/libbuild2/build/script/parser.cxx
index 9021da1..04a257f 100644
--- a/libbuild2/build/script/parser.cxx
+++ b/libbuild2/build/script/parser.cxx
@@ -321,6 +321,16 @@ namespace build2
parse_here_documents (t, tt, p);
assert (tt == type::newline);
+ // @@ Note that currently running programs via a runner (e.g., see
+ // test.runner) needs to be handled explicitly in ad hoc recipes.
+ // We could potentially run them via the runner implicitly, similar
+ // to how we do in the testscript. We would need then to match the
+ // command program path against the recipe target ad hoc member
+ // paths (test programs), to detect if it must be run via the
+ // runner. The runner path/options would need to be optionally
+ // passed to the environment constructor, similar to passing the
+ // script deadline.
+ //
return move (p.first);
}