X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2FMakefile;h=e44b2bb79130ef861b61bb0c739b876be8d307be;hb=refs%2Ftags%2F3.3.0;hp=40d9fc150bb732fbba3544328165edd4188a0180;hpb=69e742d1b1c2c29c8cc2a8f54df2dbe91a7f08aa;p=ric-plt%2Flib%2Frmr.git diff --git a/test/Makefile b/test/Makefile index 40d9fc1..e44b2bb 100644 --- a/test/Makefile +++ b/test/Makefile @@ -22,8 +22,11 @@ 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 = -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/ \ + -I ../src/rmr/si/include -I ../src/rmr/si/src -I ../src/rmr/si/si95 #sa_tests = sa_tools_test.o @@ -33,9 +36,9 @@ 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 # remove intermediates