Skip to content
Snippets Groups Projects
Commit 254fa48b authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'ndebug' into 'master'

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

See merge request i4/manycore/emper!36
parents 72faa0b1 a3b2a501
No related branches found
No related tags found
No related merge requests found
......@@ -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],
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment