diff options
Diffstat (limited to 'unit-tests/test/script/parser/driver.cxx')
-rw-r--r-- | unit-tests/test/script/parser/driver.cxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/unit-tests/test/script/parser/driver.cxx b/unit-tests/test/script/parser/driver.cxx index e167505..271fd2c 100644 --- a/unit-tests/test/script/parser/driver.cxx +++ b/unit-tests/test/script/parser/driver.cxx @@ -9,7 +9,7 @@ #include <build2/utility> #include <build2/target> -#include <build2/context> +#include <build2/context> // reset() #include <build2/scheduler> #include <build2/test/target> @@ -186,16 +186,15 @@ namespace build2 targets.insert<file> (work, dir_path (), "driver", - &extension_pool.find (""), + string (), trace)); testscript& st ( - targets.insert<testscript> ( - work, - dir_path (), - name.leaf ().base ().string (), - &extension_pool.find (name.leaf ().extension ()), - trace)); + targets.insert<testscript> (work, + dir_path (), + name.leaf ().base ().string (), + name.leaf ().extension (), + trace)); tt.path (path ("driver")); st.path (name); |