diff options
-rw-r--r-- | basctl/CppunitTest_basctl_dialogs_test.mk | 2 | ||||
-rw-r--r-- | chart2/CppunitTest_chart2_dialogs_test.mk | 2 | ||||
-rw-r--r-- | cui/CppunitTest_cui_dialogs_test.mk | 2 | ||||
-rw-r--r-- | dbaccess/CppunitTest_dbaccess_dialogs_test.mk | 2 | ||||
-rw-r--r-- | desktop/CppunitTest_desktop_dialogs_test.mk | 2 | ||||
-rw-r--r-- | filter/CppunitTest_filter_dialogs_test.mk | 2 | ||||
-rw-r--r-- | formula/CppunitTest_formula_dialogs_test.mk | 2 | ||||
-rw-r--r-- | fpicker/CppunitTest_fpicker_dialogs_test.mk | 2 | ||||
-rw-r--r-- | reportdesign/CppunitTest_reportdesign_dialogs_test.mk | 2 | ||||
-rw-r--r-- | sd/CppunitTest_sd_dialogs_test.mk | 2 | ||||
-rw-r--r-- | sfx2/CppunitTest_sfx2_dialogs_test.mk | 2 | ||||
-rw-r--r-- | solenv/gbuild/CppunitTest.mk | 16 | ||||
-rw-r--r-- | starmath/CppunitTest_starmath_dialogs_test.mk | 2 | ||||
-rw-r--r-- | svtools/CppunitTest_svtools_dialogs_test.mk | 2 | ||||
-rw-r--r-- | svx/CppunitTest_svx_dialogs_test.mk | 2 | ||||
-rw-r--r-- | sw/CppunitTest_sw_dialogs_test.mk | 2 | ||||
-rw-r--r-- | uui/CppunitTest_uui_dialogs_test.mk | 2 | ||||
-rw-r--r-- | vcl/CppunitTest_vcl_dialogs_test.mk | 2 | ||||
-rw-r--r-- | xmlsecurity/CppunitTest_xmlsecurity_dialogs_test.mk | 2 |
19 files changed, 33 insertions, 19 deletions
diff --git a/basctl/CppunitTest_basctl_dialogs_test.mk b/basctl/CppunitTest_basctl_dialogs_test.mk index 03a0287a3b83..a3583721444f 100644 --- a/basctl/CppunitTest_basctl_dialogs_test.mk +++ b/basctl/CppunitTest_basctl_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,basctl_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,basctl_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,basctl_dialogs_test, \ basctl/qa/unit/basctl-dialogs-test \ diff --git a/chart2/CppunitTest_chart2_dialogs_test.mk b/chart2/CppunitTest_chart2_dialogs_test.mk index a58559caee6f..b7dd86728c64 100644 --- a/chart2/CppunitTest_chart2_dialogs_test.mk +++ b/chart2/CppunitTest_chart2_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,chart2_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,chart2_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,chart2_dialogs_test, \ chart2/qa/unit/chart2-dialogs-test \ diff --git a/cui/CppunitTest_cui_dialogs_test.mk b/cui/CppunitTest_cui_dialogs_test.mk index fa5d4e029f31..223404a56707 100644 --- a/cui/CppunitTest_cui_dialogs_test.mk +++ b/cui/CppunitTest_cui_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,cui_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,cui_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,cui_dialogs_test, \ cui/qa/unit/cui-dialogs-test \ diff --git a/dbaccess/CppunitTest_dbaccess_dialogs_test.mk b/dbaccess/CppunitTest_dbaccess_dialogs_test.mk index 6a3ee1941e74..fbc4ebe0cc5c 100644 --- a/dbaccess/CppunitTest_dbaccess_dialogs_test.mk +++ b/dbaccess/CppunitTest_dbaccess_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,dbaccess_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,dbaccess_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,dbaccess_dialogs_test, \ dbaccess/qa/unit/dbaccess-dialogs-test \ diff --git a/desktop/CppunitTest_desktop_dialogs_test.mk b/desktop/CppunitTest_desktop_dialogs_test.mk index bffa591e2e4e..a00620cc1f7c 100644 --- a/desktop/CppunitTest_desktop_dialogs_test.mk +++ b/desktop/CppunitTest_desktop_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,desktop_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,desktop_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,desktop_dialogs_test, \ desktop/qa/unit/desktop-dialogs-test \ diff --git a/filter/CppunitTest_filter_dialogs_test.mk b/filter/CppunitTest_filter_dialogs_test.mk index 018bc6365f69..b901076191c9 100644 --- a/filter/CppunitTest_filter_dialogs_test.mk +++ b/filter/CppunitTest_filter_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,filter_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,filter_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,filter_dialogs_test, \ filter/qa/unit/filter-dialogs-test \ diff --git a/formula/CppunitTest_formula_dialogs_test.mk b/formula/CppunitTest_formula_dialogs_test.mk index 3dacdc0289b9..d12f2d9e9b58 100644 --- a/formula/CppunitTest_formula_dialogs_test.mk +++ b/formula/CppunitTest_formula_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,formula_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,formula_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,formula_dialogs_test, \ formula/qa/unit/formula-dialogs-test \ diff --git a/fpicker/CppunitTest_fpicker_dialogs_test.mk b/fpicker/CppunitTest_fpicker_dialogs_test.mk index 0caf7e7d7511..079f759a0d02 100644 --- a/fpicker/CppunitTest_fpicker_dialogs_test.mk +++ b/fpicker/CppunitTest_fpicker_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,fpicker_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,fpicker_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,fpicker_dialogs_test, \ fpicker/qa/unit/fpicker-dialogs-test \ diff --git a/reportdesign/CppunitTest_reportdesign_dialogs_test.mk b/reportdesign/CppunitTest_reportdesign_dialogs_test.mk index 07d56585bd4b..932ff6e57287 100644 --- a/reportdesign/CppunitTest_reportdesign_dialogs_test.mk +++ b/reportdesign/CppunitTest_reportdesign_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,reportdesign_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,reportdesign_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,reportdesign_dialogs_test, \ reportdesign/qa/unit/reportdesign-dialogs-test \ diff --git a/sd/CppunitTest_sd_dialogs_test.mk b/sd/CppunitTest_sd_dialogs_test.mk index 04571a2729e0..6bbce335341a 100644 --- a/sd/CppunitTest_sd_dialogs_test.mk +++ b/sd/CppunitTest_sd_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,sd_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,sd_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,sd_dialogs_test, \ sd/qa/unit/dialogs-test \ diff --git a/sfx2/CppunitTest_sfx2_dialogs_test.mk b/sfx2/CppunitTest_sfx2_dialogs_test.mk index 5c6087f3d68a..1ea68c0a1b10 100644 --- a/sfx2/CppunitTest_sfx2_dialogs_test.mk +++ b/sfx2/CppunitTest_sfx2_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,sfx2_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,sfx2_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,sfx2_dialogs_test, \ sfx2/qa/unit/sfx2-dialogs-test \ diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index e8cbcc906b00..4a9c050bbc96 100644 --- a/solenv/gbuild/CppunitTest.mk +++ b/solenv/gbuild/CppunitTest.mk @@ -109,7 +109,9 @@ $(call gb_CppunitTest_get_target,%) :| $(gb_CppunitTest_RUNTIMEDEPS) $(if $(gb_CppunitTest__interactive),, \ $(if $(value gb_CppunitTest_postprocess), \ rm -fr $@.core && mkdir $@.core && cd $@.core &&)) \ - ($(if $(filter gdb,$(CPPUNITTRACE)),,$(gb_CppunitTest_CPPTESTPRECOMMAND)) \ + ( \ + $(if $(gb_CppunitTest_localized),for l in $(WITH_LANG_LIST) ; do LO_TEST_LOCALE="$$l" ) \ + $(if $(filter gdb,$(CPPUNITTRACE)),,$(gb_CppunitTest_CPPTESTPRECOMMAND)) \ $(if $(G_SLICE),G_SLICE=$(G_SLICE)) \ $(if $(GLIBCXX_FORCE_NEW),GLIBCXX_FORCE_NEW=$(GLIBCXX_FORCE_NEW)) \ $(gb_CppunitTest_malloc_check) \ @@ -119,6 +121,7 @@ $(call gb_CppunitTest_get_target,%) :| $(gb_CppunitTest_RUNTIMEDEPS) $(ICECREAM_RUN) $(gb_CppunitTest_GDBTRACE) $(gb_CppunitTest_VALGRINDTOOL) $(gb_CppunitTest_CPPTESTCOMMAND) \ $(call gb_LinkTarget_get_target,$(call gb_CppunitTest_get_linktarget,$*)) \ $(call gb_CppunitTest__make_args) "-env:CPPUNITTESTTARGET=$@" \ + $(if $(gb_CppunitTest_localized), ;done ) \ $(if $(gb_CppunitTest__interactive),, \ > $@.log 2>&1 \ || ($(if $(value gb_CppunitTest_postprocess), \ @@ -131,6 +134,12 @@ $(call gb_CppunitTest__CppunitTest_impl,$(1),$(call gb_CppunitTest_get_linktarge endef +define gb_CppunitTest_CppunitScreenShot +$(call gb_CppunitTest_get_target,$(1)) : gb_CppunitTest_localized := $(true) +$(call gb_CppunitTest__CppunitTest_impl,$(1),$(call gb_CppunitTest_get_linktarget,$(1))) + +endef + # call gb_CppunitTest__CppunitTest_impl,cppunittest,linktarget define gb_CppunitTest__CppunitTest_impl $(call gb_LinkTarget_LinkTarget,$(2),CppunitTest_$(1),NONE) @@ -226,6 +235,11 @@ $(call gb_CppunitTest__use_vcl,$(1),$(false)) endef +define gb_CppunitTest_localized_run +$(call gb_CppunitTest_get_target,$(1)) : gb_CppunitTest_localized := $(true) + +endef + define gb_CppunitTest__use_api $(call gb_CppunitTest_get_target,$(1)) : $(call gb_UnoApi_get_target,$(2)) $(call gb_CppunitTest_get_target,$(1)) : UNO_TYPES += $(call gb_UnoApi_get_target,$(2)) diff --git a/starmath/CppunitTest_starmath_dialogs_test.mk b/starmath/CppunitTest_starmath_dialogs_test.mk index 4ef798ea12ca..d5e6866eee07 100644 --- a/starmath/CppunitTest_starmath_dialogs_test.mk +++ b/starmath/CppunitTest_starmath_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,starmath_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,starmath_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,starmath_dialogs_test, \ starmath/qa/unit/starmath-dialogs-test \ diff --git a/svtools/CppunitTest_svtools_dialogs_test.mk b/svtools/CppunitTest_svtools_dialogs_test.mk index 63418505bc43..38b50cb37f5b 100644 --- a/svtools/CppunitTest_svtools_dialogs_test.mk +++ b/svtools/CppunitTest_svtools_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,svtools_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,svtools_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,svtools_dialogs_test, \ svtools/qa/unit/svtools-dialogs-test \ diff --git a/svx/CppunitTest_svx_dialogs_test.mk b/svx/CppunitTest_svx_dialogs_test.mk index 4773f335a828..cf841941cdc9 100644 --- a/svx/CppunitTest_svx_dialogs_test.mk +++ b/svx/CppunitTest_svx_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,svx_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,svx_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,svx_dialogs_test, \ svx/qa/unit/svx-dialogs-test \ diff --git a/sw/CppunitTest_sw_dialogs_test.mk b/sw/CppunitTest_sw_dialogs_test.mk index 3bb3ac2b2b21..42ae22bc7794 100644 --- a/sw/CppunitTest_sw_dialogs_test.mk +++ b/sw/CppunitTest_sw_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,sw_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,sw_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,sw_dialogs_test, \ sw/qa/unit/sw-dialogs-test \ diff --git a/uui/CppunitTest_uui_dialogs_test.mk b/uui/CppunitTest_uui_dialogs_test.mk index 5df75004da08..9c7ed39dea8a 100644 --- a/uui/CppunitTest_uui_dialogs_test.mk +++ b/uui/CppunitTest_uui_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,uui_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,uui_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,uui_dialogs_test, \ uui/qa/unit/uui-dialogs-test \ diff --git a/vcl/CppunitTest_vcl_dialogs_test.mk b/vcl/CppunitTest_vcl_dialogs_test.mk index b5940155ab73..2bebfe41d852 100644 --- a/vcl/CppunitTest_vcl_dialogs_test.mk +++ b/vcl/CppunitTest_vcl_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,vcl_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,vcl_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,vcl_dialogs_test, \ vcl/qa/unit/vcl-dialogs-test \ diff --git a/xmlsecurity/CppunitTest_xmlsecurity_dialogs_test.mk b/xmlsecurity/CppunitTest_xmlsecurity_dialogs_test.mk index ba72c00b1c85..f30b5c238ac8 100644 --- a/xmlsecurity/CppunitTest_xmlsecurity_dialogs_test.mk +++ b/xmlsecurity/CppunitTest_xmlsecurity_dialogs_test.mk @@ -9,7 +9,7 @@ # #************************************************************************* -$(eval $(call gb_CppunitTest_CppunitTest,xmlsecurity_dialogs_test)) +$(eval $(call gb_CppunitTest_CppunitScreenShot,xmlsecurity_dialogs_test)) $(eval $(call gb_CppunitTest_add_exception_objects,xmlsecurity_dialogs_test, \ xmlsecurity/qa/unit/xmlsecurity-dialogs-test \ |