aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-01 18:24:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-01 19:30:26 +0300
commit70317569c6dcd9809ed4a8c425777e653ec6ca08 (patch)
tree07a538b296933e9e2a1f81088f8fcc8da3f749ad /unit-tests/test/script
parentcbec9ea8841c8a58b2d50bb628b28aea7a6fe179 (diff)
Add hxx extension for headers
Diffstat (limited to 'unit-tests/test/script')
-rw-r--r--unit-tests/test/script/lexer/driver.cxx8
-rw-r--r--unit-tests/test/script/parser/directive.test4
-rw-r--r--unit-tests/test/script/parser/driver.cxx18
-rw-r--r--unit-tests/test/script/regex/driver.cxx2
4 files changed, 16 insertions, 16 deletions
diff --git a/unit-tests/test/script/lexer/driver.cxx b/unit-tests/test/script/lexer/driver.cxx
index 229c3b6..9ff393b 100644
--- a/unit-tests/test/script/lexer/driver.cxx
+++ b/unit-tests/test/script/lexer/driver.cxx
@@ -5,11 +5,11 @@
#include <cassert>
#include <iostream>
-#include <build2/types>
-#include <build2/utility>
+#include <build2/types.hxx>
+#include <build2/utility.hxx>
-#include <build2/test/script/token>
-#include <build2/test/script/lexer>
+#include <build2/test/script/token.hxx>
+#include <build2/test/script/lexer.hxx>
using namespace std;
diff --git a/unit-tests/test/script/parser/directive.test b/unit-tests/test/script/parser/directive.test
index d735fb4..39bd666 100644
--- a/unit-tests/test/script/parser/directive.test
+++ b/unit-tests/test/script/parser/directive.test
@@ -46,11 +46,11 @@ EOI
: var-expansion
:
-cat <<EOI >="foo-$(build.version).test";
+cat <<EOI >="foo-$(build.verson.project).test";
cmd
EOI
$* <<EOI >>EOO
-.include "foo-$(build.version).test"
+.include "foo-$(build.verson.project).test"
EOI
cmd
EOO
diff --git a/unit-tests/test/script/parser/driver.cxx b/unit-tests/test/script/parser/driver.cxx
index 772bc10..fceb477 100644
--- a/unit-tests/test/script/parser/driver.cxx
+++ b/unit-tests/test/script/parser/driver.cxx
@@ -5,18 +5,18 @@
#include <cassert>
#include <iostream>
-#include <build2/types>
-#include <build2/utility>
+#include <build2/types.hxx>
+#include <build2/utility.hxx>
-#include <build2/target>
-#include <build2/context> // reset()
-#include <build2/scheduler>
+#include <build2/target.hxx>
+#include <build2/context.hxx> // reset()
+#include <build2/scheduler.hxx>
-#include <build2/test/target>
+#include <build2/test/target.hxx>
-#include <build2/test/script/token>
-#include <build2/test/script/parser>
-#include <build2/test/script/runner>
+#include <build2/test/script/token.hxx>
+#include <build2/test/script/parser.hxx>
+#include <build2/test/script/runner.hxx>
using namespace std;
diff --git a/unit-tests/test/script/regex/driver.cxx b/unit-tests/test/script/regex/driver.cxx
index 2680672..fd35f2a 100644
--- a/unit-tests/test/script/regex/driver.cxx
+++ b/unit-tests/test/script/regex/driver.cxx
@@ -5,7 +5,7 @@
#include <regex>
#include <type_traits> // is_pod, is_array
-#include <build2/test/script/regex>
+#include <build2/test/script/regex.hxx>
using namespace std;
using namespace build2::test::script::regex;