From fae6cd2235c907e077dad7b5d8dc9b6d90a78a37 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 21 Nov 2016 15:14:07 +0200 Subject: Change build.driver/path variable to build.path/process_path --- unit-tests/function/driver.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unit-tests/function/driver.cxx') diff --git a/unit-tests/function/driver.cxx b/unit-tests/function/driver.cxx index 0708cea..192b954 100644 --- a/unit-tests/function/driver.cxx +++ b/unit-tests/function/driver.cxx @@ -23,9 +23,9 @@ namespace build2 }; int - main () + main (int, char* argv[]) { - init ("false", 1); // No build system driver, default verbosity. + init (argv[0], 1); // Fake build system driver, default verbosity. reset (strings ()); // No command line variables. function_family f ("dummy"); @@ -106,7 +106,7 @@ namespace build2 } int -main () +main (int argc, char* argv[]) { - return build2::main (); + return build2::main (argc, argv); } -- cgit v1.1