diff --git a/test/Makefile b/test/Makefile index cfa6f2046..c7aa752b6 100644 --- a/test/Makefile +++ b/test/Makefile @@ -24,6 +24,8 @@ SUBDIRS = \ sdp_client \ security_manager \ tlv_posix \ + security_manager_sc \ + # not testing anything in source tree # maths \ # no unit tests @@ -42,6 +44,7 @@ SUBDIRS_BLE = \ linked_list \ ring_buffer \ security_manager \ + security_manager_sc \ # tlv_posix \ # test fails diff --git a/test/security_manager_sc/Makefile b/test/security_manager_sc/Makefile index ff0c31127..e56f16589 100644 --- a/test/security_manager_sc/Makefile +++ b/test/security_manager_sc/Makefile @@ -91,20 +91,9 @@ myclean: rm -f *.o rm -rf *.dSYM rm -f *.gcno *.gcda - + rm -rf SM_* + clean: myclean test: sm_test - ./sm_test - -coverage: sm_test - # delete trace data - # find . -name "*.gcda" -type f -delete - # run tests - #./sm_test - # collect traces - lcov --capture --rc lcov_branch_coverage=1 --directory . --exclude "/Applications/*" --exclude "/Library/*" --exclude "/usr/*" --exclude "*/test/*" --output-file coverage-sm-sc.info - # strip path prefix such that paths start with 'btstack' - sed -i.bak -e 's|/Users/mringwal/buildbot-worker/test-develop/build|btstack|' coverage-sm-sc.info - # generate html output - genhtml coverage-sm-sc.info --branch-coverage --output-directory coverage-sm-sc + python3 ./sm_test.py