uitest oneprocess mode: add a way to explicitly avoid this

The intention is to use this for known-problematic existing test suites,
so later the default can be changed for new tests.

Change-Id: I5a0c590a5d0fcc7ac86fba64affb10a301b36341
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157570
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Miklos Vajna 2023-10-04 20:08:29 +02:00
parent 2a217a80bf
commit 9baf674be8
2 changed files with 6 additions and 0 deletions

View file

@ -13,4 +13,6 @@ $(eval $(call gb_UITest_add_modules,cui_dialogs,$(SRCDIR)/cui/qa/uitest,\
dialogs/ \ dialogs/ \
)) ))
$(eval $(call gb_UITest_avoid_oneprocess,cui_dialogs))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:

View file

@ -140,6 +140,10 @@ define gb_UITest_use_oneprocess
$(call gb_UITest_get_target,$(1)) : ONEPROCESS := $(true) $(call gb_UITest_get_target,$(1)) : ONEPROCESS := $(true)
endef endef
define gb_UITest_avoid_oneprocess
$(call gb_UITest_get_target,$(1)) : ONEPROCESS := $(false)
endef
else # DISABLE_PYTHON else # DISABLE_PYTHON