aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-22 14:38:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-22 16:16:32 +0200
commit4f5b6cb7ed4e05e98cce7e692462f49e24b7a39a (patch)
tree4184fa33e116ec74747feec0c15e30219c7d087b /tests
parent739f68b9e45c925ccc5a28b9b796030272575e2b (diff)
Targets, scopes, vars
Diffstat (limited to 'tests')
-rw-r--r--tests/libbuild2/driver.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libbuild2/driver.cxx b/tests/libbuild2/driver.cxx
index 706d276..8ae83d5 100644
--- a/tests/libbuild2/driver.cxx
+++ b/tests/libbuild2/driver.cxx
@@ -5,7 +5,7 @@
#include <libbuild2/types.hxx>
#include <libbuild2/utility.hxx>
-#include <libbuild2/context.hxx> // sched, reset()
+#include <libbuild2/context.hxx>
#include <libbuild2/scheduler.hxx>
#include <libbuild2/in/init.hxx>
@@ -26,8 +26,8 @@ main (int, char* argv[])
in::build2_in_load ();
version::build2_version_load ();
- sched.startup (1); // Serial execution.
- reset (strings ()); // No command line variables.
+ sched.startup (1); // Serial execution.
+ context ctx (sched);
return 0;
}