diff options
Diffstat (limited to 'libtests/json_handler.cc')
-rw-r--r-- | libtests/json_handler.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libtests/json_handler.cc b/libtests/json_handler.cc index 568677a8..6e894e11 100644 --- a/libtests/json_handler.cc +++ b/libtests/json_handler.cc @@ -2,6 +2,11 @@ #include <qpdf/QUtil.hh> #include <qpdf/QPDFUsage.hh> #include <iostream> + +#ifdef NDEBUG +// We need assert even in a release build for test code. +# undef NDEBUG +#endif #include <cassert> static void print_null(std::string const& path) |