aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-24 17:41:30 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-28 15:01:48 +0300
commit4bdf53837e010073de802070d4e6087410662d3e (patch)
tree2820d3964877d1a7d498833da325aa3d3a699353 /tests
parentea24f530048cbce0c5335ca3fd3632c8ce34315a (diff)
Move cc build system module to separate library
Diffstat (limited to 'tests')
-rw-r--r--tests/libbuild2/buildfile2
-rw-r--r--tests/libbuild2/driver.cxx6
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/libbuild2/buildfile b/tests/libbuild2/buildfile
index beb82b2..1a2d594 100644
--- a/tests/libbuild2/buildfile
+++ b/tests/libbuild2/buildfile
@@ -4,7 +4,7 @@
import libs = build2%lib{build2}
-for m: bash bin in version
+for m: bash bin cc in version
import libs += build2%lib{build2-$m}
exe{driver}: {hxx cxx}{*} $libs testscript
diff --git a/tests/libbuild2/driver.cxx b/tests/libbuild2/driver.cxx
index 93c145a..679b0a4 100644
--- a/tests/libbuild2/driver.cxx
+++ b/tests/libbuild2/driver.cxx
@@ -10,6 +10,7 @@
#include <libbuild2/in/init.hxx>
#include <libbuild2/bin/init.hxx>
+#include <libbuild2/cc/init.hxx>
#include <libbuild2/bash/init.hxx>
#include <libbuild2/version/init.hxx>
@@ -23,10 +24,11 @@ main (int, char* argv[])
init_diag (1);
init (nullptr, argv[0]);
- bash::build2_bash_load ();
bin::build2_bin_load ();
- in::build2_in_load ();
+ cc::build2_cc_load ();
version::build2_version_load ();
+ in::build2_in_load ();
+ bash::build2_bash_load ();
scheduler sched (1); // Serial execution.
context ctx (sched);