Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: build: move BUILD_TEST_FLAGS to BUILD_UT ......................................................................
packaging: build: move BUILD_TEST_FLAGS to BUILD_UT be more consistent with rest of optional features. Change-Id: Id55372420738c9c4b72f6b3b43eccbd305350d8a Signed-off-by: Alon Bar-Lev <[email protected]> --- M Makefile M README.developer 2 files changed, 6 insertions(+), 5 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/34/15734/1 diff --git a/Makefile b/Makefile index 77ccd04..d46ed65 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ BUILD_GWT_USERPORTAL=1 BUILD_GWT_WEBADMIN=1 BUILD_LOCALES=0 +BUILD_UT=0 DEV_BUILD_GWT_DRAFT=0 MVN=mvn @@ -51,7 +52,9 @@ ifneq ($(BUILD_LOCALES),0) BUILD_FLAGS:=$(BUILD_FLAGS) -P all-langs endif -BUILD_TEST_FLAGS=-D skipTests +ifeq ($(BUILD_UT),0) +BUILD_FLAGS:=$(BUILD_FLAGS) -D skipTests +endif EXTRA_BUILD_FLAGS_DEV= EXTRA_BUILD_FLAGS_DEV_GWT:=-D gwt.userAgent=gecko1_8 ifneq ($(DEV_BUILD_GWT_DRAFT),0) @@ -191,7 +194,6 @@ $(MVN) \ $(BUILD_FLAGS) \ $(EXTRA_BUILD_FLAGS) \ - $(BUILD_TEST_FLAGS) \ -D altDeploymentRepository=install::default::file://$(MAVEN_OUTPUT_DIR) \ $(BUILD_TARGET) touch $(BUILD_FILE) diff --git a/README.developer b/README.developer index a3ad36c..ba05321 100644 --- a/README.developer +++ b/README.developer @@ -99,9 +99,8 @@ BUILD_LOCALES [0] Build additional locales. -BUILD_TEST_FLAGS [-D skipTests] - By default, unit tests are disabled, to enable specify - BUILD_TEST_FLAGS="" +BUILD_UT [0] + Perform unit tests during build. EXTRA_BUILD_FLAGS_DEV Any maven build flags requires for building. -- To view, visit http://gerrit.ovirt.org/15734 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id55372420738c9c4b72f6b3b43eccbd305350d8a 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
