diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-08-02 11:06:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-08-02 11:06:35 +0200 |
commit | 0c1ea060f7417ffc52cababd74278ea9d6047114 (patch) | |
tree | 4759bd1823c549381dd53efc5b5738ab2fd1ce42 /tests/b-info/driver.cxx | |
parent | 8dd3964adbaccb1286d67d1b3ba63e47f545e65f (diff) |
Add version_string, list of modules to b_info() result
Also only attempt to parse the string version to standard version if the
version modules is loaded.
Diffstat (limited to 'tests/b-info/driver.cxx')
-rw-r--r-- | tests/b-info/driver.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/b-info/driver.cxx b/tests/b-info/driver.cxx index 3ecfbc0..c5a2013 100644 --- a/tests/b-info/driver.cxx +++ b/tests/b-info/driver.cxx @@ -110,6 +110,18 @@ try cout << *i; } + cout << endl + << "modules: "; + + for (auto b (pi.modules.begin ()), i (b); + i != pi.modules.end (); + ++i) + { + if (i != b) + cout << ' '; + + cout << *i; + } cout << endl; return 0; |