diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-11 01:43:09 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-19 17:56:07 +0300 |
commit | a83f3866667bca073c4d4c5d80b4deb5ac05906c (patch) | |
tree | 479464203f6be4535c8f165a20d21322a88a2751 /unit-tests/test/script/parser/driver.cxx | |
parent | ba99b60aeb8ccdeffc777589b99728395cd28f95 (diff) |
Add support for portable path modifer and dot character escaping inversion
Diffstat (limited to 'unit-tests/test/script/parser/driver.cxx')
-rw-r--r-- | unit-tests/test/script/parser/driver.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/driver.cxx b/unit-tests/test/script/parser/driver.cxx index 271fd2c..f641dc4 100644 --- a/unit-tests/test/script/parser/driver.cxx +++ b/unit-tests/test/script/parser/driver.cxx @@ -189,6 +189,13 @@ namespace build2 string (), trace)); + value& v ( + tt.assign ( + var_pool.insert<target_triplet> ( + "test.target", variable_visibility::project))); + + v = cast<target_triplet> ((*global_scope)["build.host"]); + testscript& st ( targets.insert<testscript> (work, dir_path (), |