diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-17 20:35:59 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-21 18:53:32 +0300 |
commit | 375c7c9770c5407af33058170d13d9801a508b30 (patch) | |
tree | 375e54b5c740d32e8ab3f4008706b3681bddf5f4 /tests/b-info/driver.cxx | |
parent | 44b929bb1611ce98e926b2f4846565338f344d48 (diff) |
Don't load default options from directories which subdirectory contains --no-default-options
Diffstat (limited to 'tests/b-info/driver.cxx')
-rw-r--r-- | tests/b-info/driver.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/b-info/driver.cxx b/tests/b-info/driver.cxx index e22a018..fbd4763 100644 --- a/tests/b-info/driver.cxx +++ b/tests/b-info/driver.cxx @@ -63,7 +63,12 @@ try cout.exceptions (ios::failbit | ios::badbit); - b_project_info pi (b_info (project, 1 /* verb */, {}, b)); + b_project_info pi (b_info (project, + 1 /* verb */, + {} /* cmd_callback */, + b, + {} /* search_fallback */, + {"--no-default-options"})); cout << "project: " << pi.project << endl << "version: " << pi.version << endl |