diff options
author | Petr Mladek <pmladek@suse.cz> | 2011-11-25 19:30:08 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-12-01 21:16:47 +0100 |
commit | 8c478c911033243df90ba290b32732a1fd70130e (patch) | |
tree | 98f031b9428103aca8dff385681c0a633a41d382 /instsetoo_native | |
parent | 86adb5cacb4fe3e7fb869299447da5876f0da30d (diff) |
create installation set for tests
+ it currently includes just the smoketest and is available only for Linux
+ the side effect is that it builds the smoketest before instsetoo_native
+ it runs it only during dev-install when the variable RUN_SMOKETEST == YES
Diffstat (limited to 'instsetoo_native')
-rw-r--r-- | instsetoo_native/util/makefile.mk | 34 | ||||
-rw-r--r-- | instsetoo_native/util/openoffice.lst | 98 | ||||
-rw-r--r-- | instsetoo_native/util/pack.lst | 1 |
3 files changed, 130 insertions, 3 deletions
diff --git a/instsetoo_native/util/makefile.mk b/instsetoo_native/util/makefile.mk index 16cc3a6c41d3..39677d26b185 100644 --- a/instsetoo_native/util/makefile.mk +++ b/instsetoo_native/util/makefile.mk @@ -104,7 +104,7 @@ ALLTAR : openoffice_$(defaultlangiso) ooolanguagepack $(eq,$(OS),MACOSX $(NULL) .IF "$(GUI)"=="WNT" ALLTAR : openofficeall ooohelppack sdkooall .ELSE -ALLTAR : openoffice_$(defaultlangiso) ooolanguagepack $(eq,$(OS),MACOSX $(NULL) ooohelppack) sdkoo_en-US +ALLTAR : openoffice_$(defaultlangiso) ooolanguagepack $(eq,$(OS),MACOSX $(NULL) ooohelppack) sdkoo_en-US $(eq,$(OS),MACOSX $(NULL) lotest_en-US) .ENDIF .ENDIF .ELSE # "$(ENABLE_RELEASE_BUILD)"=="TRUE" @@ -118,7 +118,7 @@ ALLTAR : openofficedev_$(defaultlangiso) ooodevlanguagepack $(eq,$(OS),MACOSX $( .IF "$(GUI)"=="WNT" ALLTAR : openofficedevall ooodevhelppack sdkoodevall .ELSE -ALLTAR : openofficedev_$(defaultlangiso) ooodevlanguagepack $(eq,$(OS),MACOSX $(NULL) ooodevhelppack) sdkoodev_en-US +ALLTAR : openofficedev_$(defaultlangiso) ooodevlanguagepack $(eq,$(OS),MACOSX $(NULL) ooodevhelppack) sdkoodev_en-US $(eq,$(OS),MACOSX $(NULL) lodevtest_en-US) .ENDIF .ENDIF .ENDIF # "$(ENABLE_RELEASE_BUILD)"=="TRUE" @@ -167,6 +167,10 @@ sdkoo: $(foreach,i,$(alllangiso) sdkoo_$i) sdkoodev: $(foreach,i,$(alllangiso) sdkoodev_$i) +lotest: $(foreach,i,$(alllangiso) lotest_$i) + +lodevtest: $(foreach,i,$(alllangiso) lodevtest_$i) + ure: $(foreach,i,$(alllangiso) ure_$i) oxygenoffice: $(foreach,i,$(alllangiso) oxygenoffice_$i) @@ -182,6 +186,7 @@ MSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates MSIHELPPACKTEMPLATESOURCE=$(PRJ)$/inc_ooohelppack$/windows$/msi_templates MSIURETEMPLATESOURCE=$(PRJ)$/inc_ure$/windows$/msi_templates MSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates +MSITESTTEMPLATESOURCE=$(PRJ)$/inc_lotest$/windows$/msi_templates MSICOMMONTEMPLATESOURCE=$(PRJ)$/inc_common$/windows$/msi_templates NOLOGOSPLASH:=$(BIN)$/intro.zip @@ -191,6 +196,7 @@ MSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates MSIHELPPACKTEMPLATEDIR=$(MISC)$/ooohelppack$/msi_templates MSIURETEMPLATEDIR=$(MISC)$/ure$/msi_templates MSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates +MSITESTTEMPLATEDIR=$(MISC)$/lotest$/msi_templates ADDDEPS=$(NOLOGOSPLASH) $(DEVNOLOGOSPLASH) .IF "$(OS)" == "WNT" @@ -216,6 +222,10 @@ $(foreach,i,$(alllangiso) sdkoo_$i) : $(ADDDEPS) $(foreach,i,$(alllangiso) sdkoodev_$i) : $(ADDDEPS) +$(foreach,i,$(alllangiso) lotest_$i) : $(ADDDEPS) + +$(foreach,i,$(alllangiso) lodevtest_$i) : $(ADDDEPS) + $(foreach,i,$(alllangiso) ure_$i) : $(ADDDEPS) $(foreach,i,$(alllangiso) oxygenoffice_$i) : $(ADDDEPS) @@ -274,6 +284,15 @@ $(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")} sdkoodev_%{$(PKGFORMAT:^".")} : $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice_Dev_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH) +$(foreach,i,$(alllangiso) lotest_$i) : $$@{$(PKGFORMAT:^".")} +lotest_%{$(PKGFORMAT:^".")} : + $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice_Test -u $(OUT) -buildid $(BUILD) -msitemplate $(MSITESTTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH) + +$(foreach,i,$(alllangiso) lodevtest_$i) : $$@{$(PKGFORMAT:^".")} +lodevtest_%{$(PKGFORMAT:^".")} : + $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice_Dev_Test -u $(OUT) -buildid $(BUILD) -msitemplate $(MSITESTTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH) + + $(foreach,i,$(alllangiso) ure_$i) : $$@{$(PKGFORMAT:^".")} ure_%{$(PKGFORMAT:^".")} : .IF "$(OS)" == "MACOSX" @@ -316,7 +335,7 @@ openoffice: .IF "$(DISABLE_PYTHON)" != "TRUE" .IF "$(LOCALPYFILES)"!="" -$(foreach,i,$(alllangiso) openoffice_$i{$(PKGFORMAT:^".") .archive} openofficewithjre_$i{$(PKGFORMAT:^".")} openofficedev_$i{$(PKGFORMAT:^".")} sdkoo_$i{$(PKGFORMAT:^".")} oxygenoffice_$i{$(PKGFORMAT:^".") .archive} oxygenofficewithjre_$i{$(PKGFORMAT:^".")}) updatepack : $(LOCALPYFILES) +$(foreach,i,$(alllangiso) openoffice_$i{$(PKGFORMAT:^".") .archive} openofficewithjre_$i{$(PKGFORMAT:^".")} openofficedev_$i{$(PKGFORMAT:^".")} sdkoo_$i{$(PKGFORMAT:^".")} lotest_$i{$(PKGFORMAT:^".")} oxygenoffice_$i{$(PKGFORMAT:^".") .archive} oxygenofficewithjre_$i{$(PKGFORMAT:^".")}) updatepack : $(LOCALPYFILES) .ENDIF # "$(LOCALPYFILES)"!="" .IF "$(GUI)"!="WNT" @@ -341,11 +360,13 @@ hack_msitemplates .PHONY: -$(MKDIRHIER) $(MSIHELPPACKTEMPLATEDIR) -$(MKDIRHIER) $(MSIURETEMPLATEDIR) -$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR) + -$(MKDIRHIER) $(MSITESTTEMPLATEDIR) -$(MKDIRHIER) $(MSIOFFICETEMPLATEDIR)$/Binary -$(MKDIRHIER) $(MSILANGPACKTEMPLATEDIR)$/Binary -$(MKDIRHIER) $(MSIHELPPACKTEMPLATEDIR)$/Binary -$(MKDIRHIER) $(MSIURETEMPLATEDIR)$/Binary -$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR)$/Binary + -$(MKDIRHIER) $(MSITESTTEMPLATEDIR)$/Binary $(GNUCOPY) -u $(MSIOFFICETEMPLATESOURCE)$/*.* $(MSIOFFICETEMPLATEDIR) $(GNUCOPY) -u $(MSILANGPACKTEMPLATESOURCE)$/*.* $(MSILANGPACKTEMPLATEDIR) $(GNUCOPY) -u $(MSIHELPPACKTEMPLATESOURCE)$/*.* $(MSIHELPPACKTEMPLATEDIR) @@ -356,16 +377,19 @@ hack_msitemplates .PHONY: $(GNUCOPY) -u $(MSICOMMONTEMPLATESOURCE)$/Binary$/*.* $(MSIHELPPACKTEMPLATEDIR)$/Binary $(GNUCOPY) -u $(MSICOMMONTEMPLATESOURCE)$/Binary$/*.* $(MSIURETEMPLATEDIR)$/Binary $(GNUCOPY) -u $(MSICOMMONTEMPLATESOURCE)$/Binary$/*.* $(MSISDKOOTEMPLATEDIR)$/Binary + $(GNUCOPY) -u $(MSICOMMONTEMPLATESOURCE)$/Binary$/*.* $(MSITESTTEMPLATEDIR)$/Binary $(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp $(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp $(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIHELPPACKTEMPLATEDIR)$/Binary$/Image.bmp $(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp $(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp + $(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSITESTTEMPLATEDIR)$/Binary$/Image.bmp $(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSIOFFICETEMPLATEDIR)$/Binary$/Banner.bmp $(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSILANGPACKTEMPLATEDIR)$/Binary$/Banner.bmp $(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSIHELPPACKTEMPLATEDIR)$/Binary$/Banner.bmp $(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSIURETEMPLATEDIR)$/Binary$/Banner.bmp $(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSISDKOOTEMPLATEDIR)$/Binary$/Banner.bmp + $(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSITESTTEMPLATEDIR)$/Binary$/Banner.bmp .IF "$(OS)" == "WNT" @@ -379,5 +403,9 @@ sdkooall: hack_msitemplates $(LOCALPYFILES) sdkoo_$(ALLLANGSTRING:s/ /,/)$(PKGFO sdkoodevall: hack_msitemplates $(LOCALPYFILES) sdkoodev_$(ALLLANGSTRING:s/ /,/)$(PKGFORMAT:^".") +lotestall: hack_msitemplates $(LOCALPYFILES) lotest_$(ALLLANGSTRING:s/ /,/)$(PKGFORMAT:^".") + +lodevtestall: hack_msitemplates $(LOCALPYFILES) lodevtest_$(ALLLANGSTRING:s/ /,/)$(PKGFORMAT:^".") + .ENDIF # "$(OS)" == "WNT" diff --git a/instsetoo_native/util/openoffice.lst b/instsetoo_native/util/openoffice.lst index 88837134c856..68423c924548 100644 --- a/instsetoo_native/util/openoffice.lst +++ b/instsetoo_native/util/openoffice.lst @@ -371,6 +371,104 @@ LibreOffice_Dev_SDK } } +LibreOffice_Test +{ + Settings + { + downloadname LO-Test_{packageversion}_{os}_install_{languages} + variables + { + PRODUCTNAME LibreOffice + PRODUCTVERSION 3.5 + PRODUCTEXTENSION + LONG_PRODUCTEXTENSION + SHORT_PRODUCTEXTENSION alpha0 + POSTVERSIONEXTENSION TEST + POSTVERSIONEXTENSIONUNIX test + BRANDPACKAGEVERSION 3.5 + PACKAGEVERSION 3.5.0 + PACKAGEREVISION {buildid} + PACK_INSTALLED 1 + POOLPRODUCT 0 + DMG_VOLUMEEXTENSION TEST + DATABASENAME libreoffice35test + NO_README_IN_ROOTDIR 1 + LICENSENAME LGPL + IGNOREDIRECTORYLAYER 1 + NOVERSIONINDIRNAME 0 + NOSPACEINDIRECTORYNAME 1 + NOSHORTDIRECTORYNAMES 1 + CHANGETARGETDIR 1 + DOWNLOADBANNER ooobanner.bmp + DOWNLOADBITMAP ooobitmap.bmp + DOWNLOADSETUPICO ooosetup.ico + DONTUSESTARTMENUFOLDER 1 + RELATIVE_PATHES_IN_DDF 1 + STARTCENTER_ADDFEATURE_URL http://extensions.libreoffice.org/ + STARTCENTER_INFO_URL http://www.libreoffice.org/ + STARTCENTER_TEMPLREP_URL http://templates.libreoffice.org/ + STARTCENTER_LAYOUT_STYLE 0 + DICT_REPO_URL http://extensions.libreoffice.org/dictionaries/ + } + active 1 + compression 5 + script test + include {solarenvpath}/{os}/loader2,{solarpath}/bin.{minor}/cppunit,{solarpath}/bin.{minor}/osl,{solarpath}/bin.{minor},{solarpath}/lib.{minor} + } +} + +LibreOffice_Dev_Test +{ + Settings + { + downloadname LO-Dev-Test_{packageversion}_{os}_install_{languages} + variables + { + PRODUCTNAME LibO-dev + PRODUCTVERSION 3.5 + PRODUCTEXTENSION + LONG_PRODUCTEXTENSION + SHORT_PRODUCTEXTENSION alpha0 + UNIXBASISROOTNAME lo-dev + POSTVERSIONEXTENSION TEST + POSTVERSIONEXTENSIONUNIX test + BRANDPACKAGEVERSION 3.5 + PACKAGEVERSION 3.5.0 + PACKAGEREVISION {buildid} + BASISPACKAGEPREFIX libobasis-dev + UREPACKAGEPREFIX lodev + SOLSUREPACKAGEPREFIX lodev + REGISTRYLAYERNAME LayerDev + DEVELOPMENTPRODUCT 1 + PACK_INSTALLED 1 + POOLPRODUCT 0 + DMG_VOLUMEEXTENSION TEST + DATABASENAME libreoffice35devtest + NO_README_IN_ROOTDIR 1 + LICENSENAME LGPL + IGNOREDIRECTORYLAYER 1 + NOVERSIONINDIRNAME 0 + NOSPACEINDIRECTORYNAME 1 + NOSHORTDIRECTORYNAMES 1 + CHANGETARGETDIR 1 + DOWNLOADBANNER ooobanner.bmp + DOWNLOADBITMAP ooobitmap.bmp + DOWNLOADSETUPICO ooosetup.ico + DONTUSESTARTMENUFOLDER 1 + RELATIVE_PATHES_IN_DDF 1 + STARTCENTER_ADDFEATURE_URL http://extensions.libreoffice.org/ + STARTCENTER_INFO_URL http://www.libreoffice.org/ + STARTCENTER_TEMPLREP_URL http://templates.libreoffice.org/ + STARTCENTER_LAYOUT_STYLE 0 + DICT_REPO_URL http://extensions.libreoffice.org/dictionaries/ + } + active 1 + compression 5 + script test + include {solarenvpath}/{os}/loader2,{solarpath}/bin.{minor}/cppunit,{solarpath}/bin.{minor}/osl,{solarpath}/bin.{minor},{solarpath}/lib.{minor} + } +} + OxygenOffice { Settings diff --git a/instsetoo_native/util/pack.lst b/instsetoo_native/util/pack.lst index 2832afb3c4c7..c7e1834f0728 100644 --- a/instsetoo_native/util/pack.lst +++ b/instsetoo_native/util/pack.lst @@ -13,6 +13,7 @@ LibreOffice_wJRE unxlngi6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntm #LibreOffice_Dev unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxmacxi.pro,unxlngx6.pro en-US openofficedev LibreOffice_SDK unxlngi6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro en-US sdkoo #LibreOffice_Dev_SDK unxlngi6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro en-US sdkoodev +LibreOffice_Test unxlngi6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro en-US test #URE unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngi6,unxsoli4,unxsols4,wntmsci12 en-US ure LibreOfficeLanguagepack unxlngi6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro en-US|ar|as|ast|be|bg|bn|ca|ca-XV|cs|da|de|dz|el|en-GB|eo|es|et|eu|fi|fr|ga|gl|gu|he|hi|hu|id|is|it|ja|ka|km|kn|ko|ku|lt|lv|mk|ml|mr|my|nb|nl|nn|oc|om|or|pa-IN|pl|pt|pt-BR|ro|ru|sh|si|sk|sl|sr|sv|ta|te|th|tr|ug|uk|uz|vi|zh-CN|zh-TW ooolanguagepack #LibreOfficeLanguagepack unxlngi6,unxsoli4,unxsols4,wntmsci12,unxmacxi de ooolanguagepack |