diff options
Diffstat (limited to 'libhello/tests')
-rw-r--r-- | libhello/tests/basics/driver.cxx | 4 | ||||
-rw-r--r-- | libhello/tests/build/.gitignore | 7 | ||||
-rw-r--r-- | libhello/tests/build/root.build | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/libhello/tests/basics/driver.cxx b/libhello/tests/basics/driver.cxx index a7ef847..c41adff 100644 --- a/libhello/tests/basics/driver.cxx +++ b/libhello/tests/basics/driver.cxx @@ -1,10 +1,12 @@ -#include <cassert> #include <sstream> #include <stdexcept> #include <libhello/version.hxx> #include <libhello/hello.hxx> +#undef NDEBUG +#include <cassert> + int main () { using namespace std; diff --git a/libhello/tests/build/.gitignore b/libhello/tests/build/.gitignore index 4a730a3..974e01d 100644 --- a/libhello/tests/build/.gitignore +++ b/libhello/tests/build/.gitignore @@ -1,3 +1,4 @@ -config.build -root/ -bootstrap/ +/config.build +/root/ +/bootstrap/ +build/ 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 |