aboutsummaryrefslogtreecommitdiff
path: root/tests/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libbuild2')
-rw-r--r--tests/libbuild2/buildfile1
-rw-r--r--tests/libbuild2/driver.cxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/libbuild2/buildfile b/tests/libbuild2/buildfile
index 51b2f5b..aa6c17f 100644
--- a/tests/libbuild2/buildfile
+++ b/tests/libbuild2/buildfile
@@ -4,6 +4,7 @@
import libs = build2%lib{build2}
import libs += build2%lib{build2-in}
+import libs += build2%lib{build2-version}
exe{driver}: {hxx cxx}{*} $libs testscript
diff --git a/tests/libbuild2/driver.cxx b/tests/libbuild2/driver.cxx
index d9c086a..544d43e 100644
--- a/tests/libbuild2/driver.cxx
+++ b/tests/libbuild2/driver.cxx
@@ -9,6 +9,7 @@
#include <libbuild2/scheduler.hxx>
#include <libbuild2/in/init.hxx>
+#include <libbuild2/version/init.hxx>
using namespace build2;
@@ -20,6 +21,7 @@ main (int, char* argv[])
init_diag (1);
init (argv[0]);
+ version::build2_version_load ();
in::build2_in_load ();
sched.startup (1); // Serial execution.