Code Review
/
ric-plt
/
xapp-frame-cpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
I release setp 2 of 2
[ric-plt/xapp-frame-cpp.git]
/
test
/
Makefile
diff --git
a/test/Makefile
b/test/Makefile
index
2a97c69
..
ed36205
100644
(file)
--- a/
test/Makefile
+++ b/
test/Makefile
@@
-2,8
+2,7
@@
coverage_opts = -ftest-coverage -fprofile-arcs
binaries = unit_test jhash_test config_test metrics_test
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
+include = -I ../src/xapp -I ../src/alarm -I ../src/messaging -I ../src/config -I ../ext/jsmn -I ../src/json -I ../src/metrics -I ../src/model -I ../src/rest-client -I ../src/rest-server
tests:: $(binaries)
tests:: $(binaries)
@@
-15,7
+14,7
@@
rmr_em.o:: rmr_em.c
# emulate (and don't need to)
#
unit_test:: unit_test.cpp rmr_em.o
# emulate (and don't need to)
#
unit_test:: unit_test.cpp rmr_em.o
- g++ -g $(coverage_opts) $(include) unit_test.cpp -o unit_test -L../.build -lricxfcpp rmr_em.o -lrmr_si -lpthread
+ g++ -g $(coverage_opts) $(include) unit_test.cpp -o unit_test -L../.build -lricxfcpp rmr_em.o -lrmr_si -lpthread
-lm -lboost_system -lcrypto -lssl -lcpprest -lpistache -lnlohmann_json_schema_validator
# build a special jwrapper object with coverage settings
jwrapper_test.o:: ../src/json/jwrapper.c ../src/json/jwrapper.h
# build a special jwrapper object with coverage settings
jwrapper_test.o:: ../src/json/jwrapper.c ../src/json/jwrapper.h
@@
-23,13
+22,13
@@
jwrapper_test.o:: ../src/json/jwrapper.c ../src/json/jwrapper.h
jhash_test:: jwrapper_test.o jhash_test.cpp
# do NOT link the xapp lib; we include all modules in the test programme
jhash_test:: jwrapper_test.o jhash_test.cpp
# do NOT link the xapp lib; we include all modules in the test programme
- g++ -g $(coverage_opts) -I ../src/json -I ../ext/jsmn jhash_test.cpp -o jhash_test jwrapper_test.o -lrmr_si -lpthread
+ g++ -g $(coverage_opts) -I ../src/json -I ../ext/jsmn jhash_test.cpp -o jhash_test jwrapper_test.o -lrmr_si -lpthread
-lm -lboost_system -lcrypto -lssl -lcpprest -lpistache -lnlohmann_json_schema_validator
metrics_test:: metrics_test.cpp rmr_em.o
metrics_test:: metrics_test.cpp rmr_em.o
- g++ -g $(coverage_opts) $(include) metrics_test.cpp -o metrics_test -L../.build -lricxfcpp rmr_em.o -l rmr_si -lpthread
+ g++ -g $(coverage_opts) $(include) metrics_test.cpp -o metrics_test -L../.build -lricxfcpp rmr_em.o -l rmr_si -lpthread
-lm -lboost_system -lcrypto -lssl -lcpprest -lpistache -lnlohmann_json_schema_validator
config_test:: config_test.cpp jwrapper_test.o
config_test:: config_test.cpp jwrapper_test.o
- g++ -g $(coverage_opts) $(include) config_test.cpp -o config_test jwrapper_test.o -lricxfcpp -lrmr_si -lpthread
+ g++ -g $(coverage_opts) $(include) config_test.cpp -o config_test jwrapper_test.o -lricxfcpp -lrmr_si -lpthread
-lm -lboost_system -lcrypto -lssl -lcpprest -lpistache -lnlohmann_json_schema_validator
# prune gcov files generated by system include files
clean::
# prune gcov files generated by system include files
clean::
@@
-39,3
+38,4
@@
clean::
nuke::
rm -f *.a *.o *.gcov *.gcda *.gcno core a.out $(binaries)
nuke::
rm -f *.a *.o *.gcov *.gcda *.gcno core a.out $(binaries)
+