diff --git a/tests/meson.build b/tests/meson.build
index f90f264a019772805412207a1239a41bc4023a0d..6aa323c27502ceaf615b365d5da1a67e239f011e 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -45,7 +45,6 @@ tests = {
 		  },
 		}
 
-undef_ndebug = '-UNDEBUG'
 test_env = environment(
   {
 	# Set glibc's MALLOC_PERTURB to 1. This means that newly allocated
@@ -71,8 +70,6 @@ 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],
 					   )