aboutsummaryrefslogtreecommitdiff
path: root/build2/function.test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/function.test.cxx')
-rw-r--r--build2/function.test.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/function.test.cxx b/build2/function.test.cxx
index a9ba7bb..b890bcd 100644
--- a/build2/function.test.cxx
+++ b/build2/function.test.cxx
@@ -36,7 +36,10 @@ namespace build2
int
main (int, char* argv[])
{
- init (argv[0], 1); // Fake build system driver, default verbosity.
+ // Fake build system driver, default verbosity.
+ //
+ init_diag (1);
+ init (argv[0]);
reset (strings ()); // No command line variables.
function_family f ("dummy");