From 75665dbe87b97c965eeb5f32b86f526ea8726436 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 15 Oct 2016 11:52:07 +0200 Subject: Change test variable type from bool to path We still recognize the true/false as special values. --- build2/test/init.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build2/test/init.cxx') diff --git a/build2/test/init.cxx b/build2/test/init.cxx index 69570fd..e7798ec 100644 --- a/build2/test/init.cxx +++ b/build2/test/init.cxx @@ -39,9 +39,10 @@ namespace build2 { auto& v (var_pool); - // Note: none are overridable. + // Note: none are overridable. The test variable is a path with the + // true/false special values. // - v.insert ("test", variable_visibility::target); + v.insert ("test", variable_visibility::target); v.insert ("test.input", variable_visibility::project); v.insert ("test.output", variable_visibility::project); v.insert ("test.roundtrip", variable_visibility::project); -- cgit v1.1