From: DongHun Kwak Date: Wed, 17 Jan 2018 02:45:18 +0000 (+0900) Subject: Ignore grep unit test X-Git-Tag: accepted/tizen/5.0/base/20181101.091616^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_6.5_base;p=product%2Fupstream%2Fgrep.git Ignore grep unit test [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 --- diff --git a/packaging/grep.spec b/packaging/grep.spec index b7f055f..da80c40 100644 --- a/packaging/grep.spec +++ b/packaging/grep.spec @@ -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