aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-02-15 03:55:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-02 14:03:34 +0200
commitb37f1aa6398065be806e6605a023189685669885 (patch)
treeb9b32091e3d70a31852302b24c99ecb62465464a /unit-tests/test/script
parenta64b2ae2099346471ead988d5f2d383d55a9bf89 (diff)
Implement parallel match
Diffstat (limited to 'unit-tests/test/script')
-rw-r--r--unit-tests/test/script/parser/driver.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/unit-tests/test/script/parser/driver.cxx b/unit-tests/test/script/parser/driver.cxx
index c054669..5872fb8 100644
--- a/unit-tests/test/script/parser/driver.cxx
+++ b/unit-tests/test/script/parser/driver.cxx
@@ -182,8 +182,6 @@ namespace build2
// be absolute. However, the testscript implementation doesn't
// really care.
//
- ulock ml (model_mutex);
-
file& tt (
targets.insert<file> (work,
dir_path (),
@@ -193,7 +191,7 @@ namespace build2
value& v (
tt.assign (
- var_pool.rw (ml).insert<target_triplet> (
+ var_pool.rw ().insert<target_triplet> (
"test.target", variable_visibility::project)));
v = cast<target_triplet> ((*global_scope)["build.host"]);
@@ -205,8 +203,6 @@ namespace build2
name.leaf ().extension (),
trace));
- ml.unlock ();
-
tt.path (path ("driver"));
st.path (name);