aboutsummaryrefslogtreecommitdiff
path: root/bdep/test.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-17 18:04:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-19 17:32:52 +0300
commitd861a7fecff8e900e3a65e09dc7a2e89e57b3b47 (patch)
treee2b3872b630fe756990ba6a390ac819b6b9f728c /bdep/test.hxx
parent5cb3bc99fba750e95a5e17e8a45ff8134b72082d (diff)
Add --jobs common option
Diffstat (limited to 'bdep/test.hxx')
-rw-r--r--bdep/test.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/bdep/test.hxx b/bdep/test.hxx
index 33fbd8e..382fe85 100644
--- a/bdep/test.hxx
+++ b/bdep/test.hxx
@@ -21,6 +21,9 @@ namespace bdep
{
run_bpkg (2,
o,
+ (o.jobs_specified ()
+ ? strings ({"-j", to_string (o.jobs ())})
+ : strings ()),
"test",
"-d", c->path,
(o.immediate () ? "--immediate" :