summaryrefslogtreecommitdiff
path: root/uitest/UITest_writer_demo6.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-03-02 15:42:21 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-03-03 07:57:24 +0100
commit62b92a8973db0ecb1942a80d50b2c532b5d4d2f9 (patch)
tree8d4c5d5b94a53c47c8340bb1a2a1108373087b1f /uitest/UITest_writer_demo6.mk
parent198685ded79d64b21023ee85e9a15fa1b32705a0 (diff)
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>
Diffstat (limited to 'uitest/UITest_writer_demo6.mk')
-rw-r--r--uitest/UITest_writer_demo6.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/uitest/UITest_writer_demo6.mk b/uitest/UITest_writer_demo6.mk
new file mode 100644
index 000000000000..9c1e040a0d24
--- /dev/null
+++ b/uitest/UITest_writer_demo6.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_demo6))
+
+$(eval $(call gb_UITest_add_modules,writer_demo6,$(SRCDIR)/uitest,\
+ writer_tests6/ \
+))
+
+$(eval $(call gb_UITest_set_defs,writer_demo6, \
+ TDOC="$(SRCDIR)/uitest/writer_tests/data" \
+))
+
+# vim: set noet sw=4 ts=4: