X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2FMakefile;h=22dff3a0d5997446b6e0f4a73da688388921a785;hb=f1d10cd2456afcd0782c27887f7ba0c801efa6c2;hp=d6c2c64164f4079651abc4002124f5b60e5fb338;hpb=5efb1e608cf966752c02b676d6fae09f951f71e9;p=ric-plt%2Flib%2Frmr.git diff --git a/test/Makefile b/test/Makefile index d6c2c64..22dff3a 100644 --- a/test/Makefile +++ b/test/Makefile @@ -22,8 +22,9 @@ CC = gcc coverage_opts = -ftest-coverage -fprofile-arcs -#libs = ../build/librmr_nng.a -L ../build/lib -lnng -lpthread -lm -libs = -L ../build/lib -lnng -lpthread -lm +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 @@ -31,11 +32,11 @@ libs = -L ../build/lib -lnng -lpthread -lm $(CC) -g $< -c %:: %.c - $(CC) -I ../src/common/src/ -I ../src/common/include -I ../src/nng/include -I ../src/nanomsg/include $(coverage_opts) -fPIC -g $< -o $@ $(libs) + $(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