Tizen-Unified: add standard_gcov for coverage test 74/308974/1
authorHyunggi Lee <hyunggi.lee@samsung.com>
Wed, 3 Apr 2024 07:46:48 +0000 (16:46 +0900)
committerHyunggi Lee <hyunggi.lee@samsung.com>
Wed, 3 Apr 2024 07:46:50 +0000 (16:46 +0900)
At the initial addition point,
disabling the build is the default setting,
and building will be done only when directly selected by RBS.
It is planned to always set the build after confirming stable operation.

Change-Id: Ic27f1504543e53789aaae3af6d756838c7886a23
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
TIZEN/Tizen/Tizen-Unified/project_config
TIZEN/Tizen/Tizen-Unified/project_meta

index 378c1ed..114a9d9 100644 (file)
@@ -101,6 +101,34 @@ Macros:
 
 %endif
 
+############################# standard_gcov repositories ############################
+
+%if "%_repository" == "standard_gcov"
+Prefer: mesa libgbm
+Substitute: mesa-libGLESv2 coregl
+Substitute: mesa-libEGL coregl
+
+%define _with_rdp 1
+Macros:
+%_with_rdp 1
+:Macros
+
+#### Gcov ON ####
+%define gcov 1
+Macros:
+%gcov 1
+:Macros
+
+# Temporarily skip the check section.
+# Build fail occurs in some tests during build
+# remove this macro when fix errors
+Macros:
+%__spec_check_pre exit 0
+%run_check_section 0
+:Macros
+
+%endif
+
 ############################# misc config flags ################################
 ########## USAGE ##########
 #
index 7556a5a..3ed0118 100644 (file)
@@ -23,6 +23,9 @@
     <image name="tizen-headless-aarch64.ks"/>
     <image name="tizen-headless-armv7l.ks"/>
   </repository>
+  <repository name="standard_gcov" exclude="enable" reference="standard">
+    <arch name="armv7l"/>
+  </repository>
   <repository name="emulator">
     <arch name="i586"/>
     <arch name="x86_64"/>