X-Git-Url: https://git.llucax.com/software/posixx.git/blobdiff_plain/73a9db44cca62733dc2e8cb8037ed67843843e66..59583e7a598819c27dea34bf619dd7a8139c028d:/test/Makefile?ds=inline diff --git a/test/Makefile b/test/Makefile index bc09ff4..7f8519a 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,11 +1,11 @@ -LOCAL_CFLAGS = -std=c++98 -Wall -pedantic -isystem include -LOCAL_LDFLAGS = -lboost_unit_test_framework +LOCAL_CFLAGS = -std=c++98 -Wall -pedantic -Iinclude +LOCAL_LDFLAGS = -lboost_unit_test_framework-mt TESTPRG = test_suite TESTCMD = ./$(TESTPRG) --detect_memory_leak=1 --report_level=short \ -# --build_info=yes --log_level=test_suite \ -# | grep -v "Entering test case " | grep -v "Leaving test case" + #--build_info=yes --log_level=test_suite \ + #| grep -v "Entering test case " | grep -v "Leaving test case" VALGRIND = valgrind --tool=memcheck --leak-check=yes --db-attach=no \ --num-callers=24 --leak-resolution=high --track-fds=yes \ @@ -21,7 +21,7 @@ ALL_CFLAGS = $(LOCAL_CFLAGS) $(LI_CFLAGS) $(CFLAGS) ALL_LDFLAGS = $(LOCAL_LDFLAGS) $(LI_LDFLAGS) $(LDFLAGS) ifdef RELEASE -ALL_CFLAGS += -O3 -NDEBUG +ALL_CFLAGS += -O3 -DNDEBUG endif ifdef DEBUG