aboutsummaryrefslogtreecommitdiff
path: root/tests/b-info
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-12 18:35:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-12 18:38:12 +0300
commit8cc86445437e7afc583dee18b36c0e8ba4b6fe12 (patch)
tree2215464b2434c5e34d748bb08f58b39a34aefd6e /tests/b-info
parent82982e037dea53b334070699471e682fb023dc9e (diff)
Add support for omitting sub-projects from b_info() result
Diffstat (limited to 'tests/b-info')
-rw-r--r--tests/b-info/driver.cxx15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/b-info/driver.cxx b/tests/b-info/driver.cxx
index 6832aaa..5691221 100644
--- a/tests/b-info/driver.cxx
+++ b/tests/b-info/driver.cxx
@@ -49,13 +49,14 @@ try
cout.exceptions (ios::failbit | ios::badbit);
- b_project_info pi (b_info (project,
- true /* ext_mods */,
- 1 /* verb */,
- {} /* cmd_callback */,
- b,
- {} /* search_fallback */,
- {"--no-default-options"}));
+ b_project_info pi (
+ b_info (project,
+ b_info_flags::ext_mods | b_info_flags::subprojects,
+ 1 /* verb */,
+ {} /* cmd_callback */,
+ b,
+ {} /* search_fallback */,
+ {"--no-default-options"}));
cout << "project: " << pi.project << endl
<< "version: " << pi.version << endl