From 7a4fc37f264cdb67f2f83fa92703c869215bbc86 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 24 Sep 2021 13:32:30 +0300 Subject: Fortify tests against NDEBUG --- tests/backtrace/driver.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/backtrace') diff --git a/tests/backtrace/driver.cxx b/tests/backtrace/driver.cxx index d998942..a8ae99a 100644 --- a/tests/backtrace/driver.cxx +++ b/tests/backtrace/driver.cxx @@ -5,8 +5,6 @@ # include // setrlimit() #endif -#include - #ifndef __cpp_lib_modules_ts #include #include @@ -31,6 +29,9 @@ import butl.backtrace; #include #endif +#undef NDEBUG +#include + using namespace std; using namespace butl; -- cgit v1.1