aboutsummaryrefslogtreecommitdiff
path: root/tests/buildtab/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-18 13:36:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-18 13:36:04 +0300
commitbf4822a17eed8bdaf9d337caf806c63c82b06a89 (patch)
tree5885d17a2d8d88e6b0f18f44c4bc3871670534e2 /tests/buildtab/driver.cxx
parent0e7c846f7b971366ea0dc5fb81477165495bebb9 (diff)
Make buildtab target to be non-optional
Diffstat (limited to 'tests/buildtab/driver.cxx')
-rw-r--r--tests/buildtab/driver.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/buildtab/driver.cxx b/tests/buildtab/driver.cxx
index e470780..9ee6e34 100644
--- a/tests/buildtab/driver.cxx
+++ b/tests/buildtab/driver.cxx
@@ -28,14 +28,14 @@ try
for (const auto& c: parse_buildtab (cin, "cin"))
{
- cout << c.machine_pattern << ' ' << c.name;
-
- if (c.target)
- cout << ' ' << *c.target;
+ cout << c.machine_pattern << ' ' << c.name << ' ' << c.target;
for (const auto& v: c.vars)
cout << ' ' << v;
+ for (const auto& r: c.warning_regexes)
+ cout << " ~" << r;
+
cout << '\n';
}