aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-19 16:50:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-19 16:50:40 +0200
commit5164c843513212ab1ac1f721c4de04b6a865eb0c (patch)
tree1c6b2f440bd6dcd41fed60e76095bae2bf4e9e54 /unit-tests/test
parent5607313a91e5ca0113b1f8b9acfd02c1fb105346 (diff)
Get rid of extension_pool
Diffstat (limited to 'unit-tests/test')
-rw-r--r--unit-tests/test/script/parser/driver.cxx15
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);