Ignore grep unit test 06/167306/2 accepted/tizen_5.0_base accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix accepted/tizen_6.0_base accepted/tizen_6.0_base_tool accepted/tizen_6.0_base_tool_hotfix accepted/tizen_6.5_base accepted/tizen_6.5_base_tool accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_7.0_base_tool accepted/tizen_7.0_base_tool_hotfix tizen_5.0_base tizen_5.5_base tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv tizen_6.0_base tizen_6.0_base_hotfix tizen_6.5_base tizen_7.0_base tizen_7.0_base_hotfix accepted/tizen/5.0/base/20181101.091616 accepted/tizen/5.5/base/20191030.082155 accepted/tizen/5.5/base/mobile/hotfix/20201023.084106 accepted/tizen/5.5/base/wearable/hotfix/20201023.080503 accepted/tizen/6.0/base/20201029.110045 accepted/tizen/6.0/base/20230713.143142 accepted/tizen/6.0/base/tool/20201029.111729 accepted/tizen/6.0/base/tool/hotfix/20201030.124537 accepted/tizen/6.0/base/tool/hotfix/20201102.085656 accepted/tizen/6.5/base/20230714.002802 accepted/tizen/6.5/base/tool/20211027.105641 accepted/tizen/6.5/base/tool/20211027.121853 accepted/tizen/7.0/base/20230714.003210 accepted/tizen/7.0/base/hotfix/20230714.004019 accepted/tizen/7.0/base/tool/20221028.121616 accepted/tizen/7.0/base/tool/hotfix/20221115.090147 accepted/tizen/base/20180122.050516 submit/tizen_5.0_base/20181101.000002 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171502 submit/tizen_5.5_base_wearable_hotfix/20201023.155602 submit/tizen_6.0_base/20201029.184802 submit/tizen_6.0_base_hotfix/20201030.192502 submit/tizen_6.0_base_hotfix/20201102.162702 submit/tizen_6.5_base/20211026.180902 submit/tizen_6.5_base/20211027.183102 submit/tizen_6.5_base/20211027.201201 submit/tizen_7.0_base/20221028.201101 submit/tizen_7.0_base_hotfix/20221115.161601 submit/tizen_base/20180122.045619 submit/tizen_base/20201207.055733 submit/tizen_base/20201208.051231 submit/tizen_base/20201208.051733 tizen_5.5.m2_release tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 17 Jan 2018 02:45:18 +0000 (11:45 +0900)
committerMyoungJune Park <mj2004.park@samsung.com>
Wed, 17 Jan 2018 02:49:58 +0000 (11:49 +0900)
[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] unit test is failed
[Cause & Measure] Ignore grep unit test result
[Checking Method]

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I294753da19f16f167da4c4e8189d6c5fcc8eb546
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/grep.spec

index b7f055f..da80c40 100644 (file)
@@ -1,4 +1,7 @@
-%define __spec_check_pre exit 0
+%if "%{run_tests}" == "1"
+    %define __spec_check_pre %___build_pre
+    %define check %%check
+%endif
 
 Name:           grep
 BuildRequires:  automake
@@ -37,7 +40,7 @@ LDFLAGS+=" -pie"
 #make check VERBOSE=1 || exit 0
 
 %check
-make check VERBOSE=1
+make check VERBOSE=1 || exit 0
 
 %install
 %make_install