Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: build: enable ut per default
......................................................................

packaging: build: enable ut per default

spec: disable when quick or minimal build are selected.

Change-Id: Ib334c4c297dc093a5fe6d62d6f05937d9d0db72d
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M Makefile
M ovirt-engine.spec.in
2 files changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/13/19513/1

diff --git a/Makefile b/Makefile
index e8c936f..eba5b89 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@
 BUILD_GWT_WEBADMIN=1
 BUILD_LOCALES=0
 BUILD_DEV=0
-BUILD_UT=0
+BUILD_UT=1
 EXTRA_BUILD_FLAGS=
 DEV_REBUILD=1
 DEV_BUILD_GWT_DRAFT=0
diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in
index db07f3c..3cb53f7 100644
--- a/ovirt-engine.spec.in
+++ b/ovirt-engine.spec.in
@@ -6,10 +6,12 @@
 %global ovirt_build_gwt 0
 %global ovirt_build_locales 0
 %global __jar_repack 0
+%global ovirt_build_ut 0
 %endif
 %if 0%{?ovirt_build_minimal}
 %global ovirt_build_locales 0
 %global EXTRA_BUILD_FLAGS -D gwt.userAgent=gecko1_8
+%global ovirt_build_ut 0
 %endif
 %if 0%{!?ovirt_build_gwt:1}
 %global ovirt_build_gwt 1
@@ -88,6 +90,7 @@
        -j1 \\\
        BUILD_GWT=%{ovirt_build_gwt} \\\
        BUILD_LOCALES=%{ovirt_build_locales} \\\
+       BUILD_UT=%{ovirt_build_ut} \\\
        PACKAGE_NAME=%{name} \\\
        RPM_VERSION=%{version} \\\
        RPM_RELEASE=%{release} \\\


-- 
To view, visit http://gerrit.ovirt.org/19513
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib334c4c297dc093a5fe6d62d6f05937d9d0db72d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to