office-gobmx/uitest/UITest_writer_demo4.mk
Miklos Vajna 62b92a8973 uitest: split up UITest_writer_demo
I used solenv/gbuild/Trace.mk to measure where the time is spent at the
end of an incremental 'make check'. The last 141 seconds is spent
executing UITest_writer_demo alone.

If that test is executed in isolation, it takes 289 seconds. I measured
the cost of all the individual .py suites and arranged them into 8
separate UITests, this way the make -j8 cost is 101 seconds (i.e. 35% of
the baseline). IOW this is supposed to speed up 'make check' with 3m13s,
provided you have the code already built.

Change-Id: I1ffee3a06b8fd84d7b9a0295547900df11f11f68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89835
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-03-03 07:57:24 +01:00

20 lines
585 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_UITest_UITest,writer_demo4))
$(eval $(call gb_UITest_add_modules,writer_demo4,$(SRCDIR)/uitest,\
writer_tests4/ \
))
$(eval $(call gb_UITest_set_defs,writer_demo4, \
TDOC="$(SRCDIR)/uitest/writer_tests/data" \
))
# vim: set noet sw=4 ts=4: