summaryrefslogtreecommitdiff
path: root/libhello/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-10-15 22:33:19 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-15 22:33:19 +0300
commit9c060886adda2886c66b5ade063c2a8bda11cd1e (patch)
tree418751517d259aba1a7d0f46d2f0254a41bbcca5 /libhello/tests
parent2a7333b94859696b4568517481522e8f88c8e628 (diff)
Release version 1.1.0+8v1.1.0+8
Mark headers as importable in buildfiles Drop @ from bin.lib.version in libhello/buildfile Add commented out c/cxx/cc.internal.scope to root.build Make glue buildfile to read packages.manifest Fortify tests against NDEBUG Add BMI extensions to and ignore compressed .i and .i in .gitignore Bump project requirements for build2 to 0.14.0-
Diffstat (limited to 'libhello/tests')
-rw-r--r--libhello/tests/basics/driver.cxx4
-rw-r--r--libhello/tests/build/root.build4
2 files changed, 7 insertions, 1 deletions
diff --git a/libhello/tests/basics/driver.cxx b/libhello/tests/basics/driver.cxx
index 24c29a1..295c8f6 100644
--- a/libhello/tests/basics/driver.cxx
+++ b/libhello/tests/basics/driver.cxx
@@ -1,9 +1,11 @@
-#include <cassert>
#include <sstream>
#include <libhello/version.hxx>
#include <libhello/hello.hxx>
+#undef NDEBUG
+#include <cassert>
+
int main ()
{
using namespace std;
diff --git a/libhello/tests/build/root.build b/libhello/tests/build/root.build
index a67b2fe..8fafbfe 100644
--- a/libhello/tests/build/root.build
+++ b/libhello/tests/build/root.build
@@ -7,6 +7,10 @@ ixx{*}: extension = ixx
txx{*}: extension = txx
cxx{*}: extension = cxx
+# Assume headers are importable unless stated otherwise.
+#
+hxx{*}: cxx.importable = true
+
# Every exe{} in this subproject is by default a test.
#
exe{*}: test = true