Skip to content
Snippets Groups Projects

Revert "[tests] don't undef NDEBUG for test executables"

Merged Florian Schmaus requested to merge flow/emper:ndebug into master
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -46,6 +46,7 @@ tests = {
},
}
undef_ndebug = '-UNDEBUG'
test_env = environment(
{
# Set glibc's MALLOC_PERTURB to 1. This means that newly allocated
@@ -71,6 +72,8 @@ foreach source, test_dict : tests
test_exe = executable(test_name,
source,
include_directories: emper_all_include,
c_args: undef_ndebug,
cpp_args: undef_ndebug,
dependencies: emper_dependencies + test_dep,
link_with: [emper, emper_c],
)
Loading