Fix coverage generation in rpm 4.14.1 93/254493/1
authorTomasz Swierczek <t.swierczek@samsung.com>
Wed, 3 Mar 2021 14:00:55 +0000 (15:00 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Wed, 3 Mar 2021 14:00:55 +0000 (15:00 +0100)
Debug source package directories now have different names.

Change-Id: Ia540669261fef184938b5b7cd8a436038b71eb05

test/unit-tests/askuser-notification-coverage.sh.in

index 6bcb43e454e42fc20f15257e16d7753d6219ca0e..79632d5cef73b3afabf8f911f52ea273cd90f8ec 100644 (file)
@@ -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@"