Fix $XAPP_DESCRIPTOR_PATH parser bug
[ric-plt/xapp-frame-cpp.git] / test / Makefile
index cc47990..7be7eee 100644 (file)
@@ -3,7 +3,6 @@ coverage_opts = -ftest-coverage -fprofile-arcs
 
 binaries = unit_test jhash_test config_test metrics_test
 include = -I ../src/xapp -I ../src/alarm -I ../src/messaging  -I  ../src/config -I ../ext/jsmn  -I  ../src/json -I ../src/metrics
-ld_path = LD_LIBRARY_PATH=../src/.build
 
 tests::        $(binaries)
 
@@ -19,7 +18,7 @@ unit_test:: unit_test.cpp rmr_em.o
 
 # build a special jwrapper object with coverage settings
 jwrapper_test.o:: ../src/json/jwrapper.c ../src/json/jwrapper.h
-       cc $(coverage_opts)  -g -I  ../src/json -I ../ext/jsmn  ../src/json/jwrapper.c -c -o jwrapper_test.o
+       cc $(coverage_opts)  -DDEBUG=0 -g -I  ../src/json -I ../ext/jsmn  ../src/json/jwrapper.c -c -o jwrapper_test.o
 
 jhash_test:: jwrapper_test.o jhash_test.cpp
        # do NOT link the xapp lib; we include all modules in the test programme