From 45d1d761d5923857a96524ed8377b7980963d72b Mon Sep 17 00:00:00 2001 From: Kush Date: Wed, 29 Apr 2020 10:25:59 +0530 Subject: [PATCH] Update generate coverage report script https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/688 (cherry picked from 78cf5ff7048113cf3cbb86d1a693976c4d109294) Change-Id: I601fa5291c2b12b53904a929e0b59b371a22215f Signed-off-by: Kush Signed-off-by: Sudipto --- tools/generate_report.sh | 65 ++++++++++-------------------------------------- 1 file changed, 13 insertions(+), 52 deletions(-) diff --git a/tools/generate_report.sh b/tools/generate_report.sh index dee43c2..af4b222 100644 --- a/tools/generate_report.sh +++ b/tools/generate_report.sh @@ -207,6 +207,7 @@ generate_report_CA() "${IOTIVITY_BASE}/out/${IOTIVITY_TARGET_OS}/${IOTIVITY_TARGET_ARCH}/debug/resource/c_common/oic_string/test/stringtests" "${IOTIVITY_BASE}/out/${IOTIVITY_TARGET_OS}/${IOTIVITY_TARGET_ARCH}/debug/resource/c_common/oic_time/test/timetests" "${IOTIVITY_BASE}/out/${IOTIVITY_TARGET_OS}/${IOTIVITY_TARGET_ARCH}/debug/resource/csdk/stack/test/stacktests" + "${IOTIVITY_BASE}/out/${IOTIVITY_TARGET_OS}/${IOTIVITY_TARGET_ARCH}/debug/resource/c_common/ocevent/test/eventtests" ); for exe in ${tests_list[@]}; do @@ -239,73 +240,30 @@ generate_report_CA() -e "cloud.*" \ -e "resource.csdk.connectivity.lib.*" \ -e "resource.csdk.connectivity.samples.linux.*" \ - -e "resource.csdk.security.provisioning.ck_manager.sample.*" \ - -e "resource.csdk.security.provisioning.ck_manager.unittest.*" \ -e "resource.csdk.connectivity.scr.bt_edr_adapter.*" \ -e "resource.csdk.connectivity.src.bt_le_adapter.*" \ - -e "resource.csdk.connectivity.src.bt_edr_adapter.*" \ -e "resource.csdk.connectivity.test.*" \ -e "resource.csdk.logger.*" \ - -e "resource.src.*" \ - -e "resource.csdk.security.provisioning.include.*" \ - -e "resource.csdk.security.provisioning.sample.*" \ - -e "resource.csdk.security.provisioning.src.cloud.*" \ - -e "resource.csdk.security.provisioning.unittest.*" \ - -e "resource.csdk.security.unittest.*" \ - -e "resource.csdk.stack.*" \ + -e "resource.csdk.stack.samples.*" \ + -e "resource.csdk.stack.test.*" \ -e "resource.examples.*" \ -e "resource.unittests.*" \ - -e "resource.include.*" \ -e "resource.oc_logger.*" \ - -e "resource.provisioning.examples.*" \ - -e "resource.provisioning.unittests.*" \ + -e "resource.provisioning.*" \ -e "resource.csdk.connectivity.common.src.logger.c.*" \ -e "resource.csdk.connectivity.common.src.oic_console_logger.c.*" \ -e "resource.csdk.connectivity.common.src.oic_logger.c.*" \ - -e "service.resource-encapsulation.include.*" \ - -e "service.resource-encapsulation.src.common.expiryTimer.*" \ - -e "service.resource-encapsulation.src.common.primitiveResource.unittests.*" \ - -e "service.resource-encapsulation.src.resourceBroker.unittest.*" \ - -e "service.resource-encapsulation.src.resourceCache.unittest.*" \ - -e "service.resource-encapsulation.src.serverBuilder.unittest.*" \ - -e "service.resource-encapsulation.unittest.*" \ - -e "service.resource-hosting.src.unittest.*" \ - -e "service.resource-hosting.SampleApp.*" \ - -e "service.things-manager.*" \ - -e "service.notification.unittest.*" \ - -e "service.easy-setup.unittest.*" \ - -e "service.easy-setup.sample.*" \ - -e "service.easy-setup.mediator.csdk.unittests.*" \ - -e "service.easy-setup.mediator.richsdk.unittests.*" \ - -e "service.easy-setup.enrollee.unittest.*" \ - -e "service.resource-container.examples.*" \ - -e "service.resource-container.unittests." \ - -e "service.resource-container.bundle-api." \ - -e "service.resource-encapsulation.examples.*" \ - -e "service.resource-encapsulation.src.common.primitiveResource.unittests." \ - -e "service.resource-encapsulation.src.resourceBroker.unittest." \ - -e "service.resource-encapsulation.src.resourceCache.unittest." \ - -e "service.resource-encapsulation.src.serverBuilder.unittest." \ - -e "service.resource-encapsulation.unittest." \ - -e "service.resource-encapsulation.src.common.utils.*" \ - -e "service.things-manager.sampleapp.*" \ - -e "service.resource-hosting.unittest" \ -e "resource.c_common.oic_string.test.*" \ - -e "service.notification.unittests.*" \ - -e "service.notification.cpp-wrapper.unittest.*" \ - -e "resource.c_common.*" \ - -e "service.resource-directory.samples.*" \ - -e "resource.csdk.security.src.*" \ + -e "resource.c_common.ocevent.test.*" \ + -e "resource.c_common.ocrandom.test.*" \ + -e "resource.c_common.oic_malloc.test.*" \ + -e "resource.c_common.oic_time.test.*" \ -e "resource.csdk.connectivity.src.adapter_util.pkix.*" \ -e "resource.csdk.connectivity.src.adapter_util.caadapternetdtls.c" \ - -e "service.scene-manager.sampleapp.*" \ - -e "service.scene-manager.unittests.*" \ - -e "service.coap-http-proxy.unittests.*" \ -e "service.*" \ -e "resource.csdk.security.*" \ -e "resource.csdk.resource-directory.*" \ -e "resource.csdk.routing.*" \ - -e "resource.csdk.include.*" \ ${report_flags} -o ${test_report_file} if [ $? -eq 0 ]; then @@ -374,6 +332,7 @@ generate_report_ES() -e "extlibs.rapidxml.*" \ -e "out.linux.*" \ -e "plugins.*" \ + -e "cloud.*" \ -e "resource.csdk.connectivity.lib.*" \ -e "resource.csdk.connectivity.samples.linux.*" \ -e "resource.csdk.security.provisioning.ck_manager.sample.*" \ @@ -415,6 +374,7 @@ generate_report_ES() -e "service.easy-setup.mediator.csdk.unittests.*" \ -e "service.easy-setup.mediator.richsdk.unittests.*" \ -e "service.easy-setup.enrollee.unittest.*" \ + -e "service.easy-setup.mediator.richsdk.src.EnrolleeSecurity.cpp" \ -e "service.resource-container.examples.*" \ -e "service.resource-container.unittests." \ -e "service.resource-container.bundle-api." \ @@ -513,6 +473,7 @@ generate_report_RE() -e "extlibs.rapidxml.*" \ -e "out.linux.*" \ -e "plugins.*" \ + -e "cloud.*" \ -e "resource.csdk.connectivity.lib.*" \ -e "resource.csdk.connectivity.samples.linux.*" \ -e "resource.csdk.security.provisioning.ck_manager.sample.*" \ @@ -761,9 +722,9 @@ generate_report_NS() tests_list=( "${IOTIVITY_BASE}/out/${IOTIVITY_TARGET_OS}/${IOTIVITY_TARGET_ARCH}/debug/service/notification/unittest/notification_consumer_test" -# "${IOTIVITY_BASE}/out/${IOTIVITY_TARGET_OS}/${IOTIVITY_TARGET_ARCH}/debug/service/notification/unittest/notification_provider_test" "${IOTIVITY_BASE}/out/${IOTIVITY_TARGET_OS}/${IOTIVITY_TARGET_ARCH}/debug/service/notification/cpp-wrapper/unittest/notification_consumer_wrapper_test" -# "${IOTIVITY_BASE}/out/${IOTIVITY_TARGET_OS}/${IOTIVITY_TARGET_ARCH}/debug/service/notification/cpp-wrapper/unittest/notification_provider_wrapper_test" +# "${IOTIVITY_BASE}/out/${IOTIVITY_TARGET_OS}/${IOTIVITY_TARGET_ARCH}/debug/service/notification/unittest/notification_provider_test" +# "${IOTIVITY_BASE}/out/${IOTIVITY_TARGET_OS}/${IOTIVITY_TARGET_ARCH}/debug/service/notification/cpp-wrapper/unittest/notification_provider_wrapper_test" ); for exe in ${tests_list[@]}; do -- 2.7.4