test/Makefile
branchENGINE-259
changeset 2073 b4126ce1af67
parent 2064 c222d7d481ad
child 2074 817d6f5e8f48
     1.1 --- a/test/Makefile	Tue Sep 19 14:43:00 2017 +0200
     1.2 +++ b/test/Makefile	Tue Sep 19 14:45:53 2017 +0200
     1.3 @@ -57,6 +57,8 @@
     1.4  UNIT_TESTS=$(subst .cc,,$(UNIT_TESTS_SOURCE))
     1.5  UNIT_TESTS_RUN=$(subst .cc,_run,$(UNIT_TESTS_SOURCE))
     1.6  
     1.7 +CFLAGS=$(filter-out -DNDEBUG,$(CFLAGS))
     1.8 +
     1.9  ifneq ($(MAKECMDGOALS),clean)
    1.10      ifneq (,$(findstring -DNDEBUG,$(CFLAGS)))
    1.11          $(error The macro NDEBUG must not be defined for test compilation.)