aboutsummaryrefslogtreecommitdiff
path: root/tests
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 /tests
parentcbec9ea8841c8a58b2d50bb628b28aea7a6fe179 (diff)
Add hxx extension for headers
Diffstat (limited to 'tests')
-rw-r--r--tests/.gitignore5
-rw-r--r--tests/build/root.build2
-rw-r--r--tests/test/script/runner/driver.cxx8
3 files changed, 10 insertions, 5 deletions
diff --git a/tests/.gitignore b/tests/.gitignore
index e54525b..eac2bb8 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -1 +1,6 @@
driver
+
+# The immediate test/ sub-directory shouldn't be ignored.
+#
+*/test/
+test-*/
diff --git a/tests/build/root.build b/tests/build/root.build
index 1903c41..7d483fe 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -6,7 +6,7 @@ cxx.std = latest
using cxx
-hxx{*}: extension =
+hxx{*}: extension = hxx
cxx{*}: extension = cxx
# Setup the build system driver that we are testing (which may not be the same
diff --git a/tests/test/script/runner/driver.cxx b/tests/test/script/runner/driver.cxx
index ff91926..b31acb7 100644
--- a/tests/test/script/runner/driver.cxx
+++ b/tests/test/script/runner/driver.cxx
@@ -11,10 +11,10 @@
#include <iostream>
#include <exception>
-#include <butl/path>
-#include <butl/optional>
-#include <butl/fdstream>
-#include <butl/filesystem>
+#include <libbutl/path.hxx>
+#include <libbutl/optional.hxx>
+#include <libbutl/fdstream.hxx>
+#include <libbutl/filesystem.hxx>
using namespace std;
using namespace butl;