diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libbuild2/buildfile | 2 | ||||
-rw-r--r-- | tests/libbuild2/driver.cxx | 6 |
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); |