Fixing memory leak in python support function
[ric-plt/lib/rmr.git] / test / Makefile
index 40d9fc1..c433023 100644 (file)
@@ -22,8 +22,9 @@
 CC = gcc
 coverage_opts = -ftest-coverage -fprofile-arcs
 
-libs =   -lnng -lpthread -lm
-ipaths = -I ../src/rmr/common/src/ -I ../src/rmr/common/include -I ../src/rmr/nng/include/ -I ../src/rmr/nng/src/ -I ../src/rmr/nanomsg/include/ -I ../src/rmr/nanomsg/src/ 
+libs = -lpthread -lm
+ipaths = -I ../src/rmr/common/src/ -I ../src/rmr/common/include  \
+       -I ../src/rmr/si/include -I ../src/rmr/si/src -I ../src/rmr/si/si95
 
 #sa_tests = sa_tools_test.o
 
@@ -33,9 +34,19 @@ ipaths = -I ../src/rmr/common/src/ -I ../src/rmr/common/include -I ../src/rmr/nn
 %:: %.c
        $(CC)  $(ipaths) $(coverage_opts) -fPIC -g $< -o $@  $(libs)
 
-# catch all
+# run all tests; generates .gcov and .dcov files.
 all:
-       echo "run unit_test.ksh to make and run things here"
+       unit_test.ksh
+
+# a generic rule driven from the unit_test script to run all stand alone
+# vetters after the build
+vet: logging_vet
+
+logging_vet:: logging_test always
+       bash vet_logging.sh
+
+# Make required hack to always force something to build
+always ::
 
 
 # remove intermediates