From: Tomasz Swierczek Date: Wed, 3 Mar 2021 14:00:55 +0000 (+0100) Subject: Fix coverage generation in rpm 4.14.1 X-Git-Tag: accepted/tizen/unified/20230213.170714~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=838a44b927859380f3e2944692ae6e907fcd78f3;p=platform%2Fcore%2Fsecurity%2Faskuser.git Fix coverage generation in rpm 4.14.1 Debug source package directories now have different names. Change-Id: Ia540669261fef184938b5b7cd8a436038b71eb05 --- diff --git a/test/unit-tests/askuser-notification-coverage.sh.in b/test/unit-tests/askuser-notification-coverage.sh.in index 6bcb43e..79632d5 100644 --- a/test/unit-tests/askuser-notification-coverage.sh.in +++ b/test/unit-tests/askuser-notification-coverage.sh.in @@ -18,7 +18,7 @@ find / -iname "*.gcda" -exec rm {} \; askuser-notification-unit-tests # copy source files -cp -rp $SRCS_DIR/* "@CMAKE_BINARY_DIR@" +cp -rp $SRCS_DIR*/* "@CMAKE_BINARY_DIR@" # copy gcda files cp -r "@COVERAGE_BUILD_DIR@"/* "@COVERAGE_DIR@"