aboutsummaryrefslogtreecommitdiff
path: root/unit-tests
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests')
-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);