Fix lcov output name to package 87/308287/1
authorChanggyu Choi <changyu.choi@samsung.com>
Thu, 21 Mar 2024 01:44:49 +0000 (10:44 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Thu, 21 Mar 2024 01:44:49 +0000 (10:44 +0900)
Change-Id: I857fccc6aef319f2003e387963d4361672ae06af
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
packaging/tidl.spec

index 7df27d3e3b5c0f32a3135ee33980c657357f9b38..2b06df51bda5cdb9f4811bf13c4ae90155514016 100644 (file)
@@ -61,8 +61,8 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %check
 ctest -V %{?_smp_mflags}
 %if 0%{?gcov:1}
-lcov -c --ignore-errors mismatch,graph,unused --no-external -q -d . -o gcov.info
-genhtml gcov.info
+lcov -c --ignore-errors mismatch,graph,unused --no-external -q -d . -o %{name}.info
+genhtml %{name}.info
 %endif
 
 %install