From 62b92a8973db0ecb1942a80d50b2c532b5d4d2f9 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 2 Mar 2020 15:42:21 +0100 Subject: 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 --- uitest/UITest_writer_demo4.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 uitest/UITest_writer_demo4.mk (limited to 'uitest/UITest_writer_demo4.mk') diff --git a/uitest/UITest_writer_demo4.mk b/uitest/UITest_writer_demo4.mk new file mode 100644 index 000000000000..5ad99203efd5 --- /dev/null +++ b/uitest/UITest_writer_demo4.mk @@ -0,0 +1,20 @@ +# -*- 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: -- cgit