aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/function
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/function')
-rw-r--r--unit-tests/function/buildfile2
-rw-r--r--unit-tests/function/driver.cxx4
2 files changed, 2 insertions, 4 deletions
diff --git a/unit-tests/function/buildfile b/unit-tests/function/buildfile
index 27c73d1..3631958 100644
--- a/unit-tests/function/buildfile
+++ b/unit-tests/function/buildfile
@@ -10,7 +10,7 @@ import libs = libbutl%lib{butl}
src = token lexer diagnostics utility variable name b-options types-parsers \
context scope parser target operation rule prerequisite file module function \
functions-builtin functions-path functions-process-path functions-string \
-functions-target-triplet algorithm search dump filesystem \
+functions-target-triplet algorithm search dump filesystem scheduler \
config/{utility init operation}
diff --git a/unit-tests/function/driver.cxx b/unit-tests/function/driver.cxx
index 4fbbdb6..2f605b0 100644
--- a/unit-tests/function/driver.cxx
+++ b/unit-tests/function/driver.cxx
@@ -26,9 +26,7 @@ namespace build2
main (int, char* argv[])
{
init (argv[0], 1); // Fake build system driver, default verbosity.
-
- ulock ml (model);
- reset (ml, strings ()); // No command line variables.
+ reset (strings ()); // No command line variables.
function_family f ("dummy");