diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-03-29 23:19:19 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-03-30 06:54:54 +0000 |
commit | 3ec17b23098eed2934020995a890740e7f8581cc (patch) | |
tree | d34bd020338d2c19742b3c9ccb704e532ad97271 | |
parent | d3bfbcb5f42ca0ff3441ee14b179ca590e646b1f (diff) |
UITest_{calc_tests6,chart,chart2,sort}: enable oneprocess mode
Execution time changes:
- from 1m27,535s to 0m55,724s
- from 5m40,926s to 4m46,884s
- from 1m54,886s to 1m31,400s
- from 3m30,592s to 2m20,833s
for me. Also add a simple script that lists what's remaining to be
converted.
Change-Id: I274f5a11a0f606964bdad5d5e5254b65b09fe497
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149739
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rwxr-xr-x | bin/count-slow-uitests | 20 | ||||
-rw-r--r-- | sc/UITest_calc_tests6.mk | 2 | ||||
-rw-r--r-- | sc/UITest_chart.mk | 2 | ||||
-rw-r--r-- | sc/UITest_chart2.mk | 2 | ||||
-rw-r--r-- | sc/UITest_sort.mk | 2 |
5 files changed, 28 insertions, 0 deletions
diff --git a/bin/count-slow-uitests b/bin/count-slow-uitests new file mode 100755 index 000000000000..8895c2013667 --- /dev/null +++ b/bin/count-slow-uitests @@ -0,0 +1,20 @@ +#!/bin/sh +# +# 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/. +# +# Run this from the source root dir to count the number of non-oneprocess ui tests + +for i in */UITest_*.mk +do + if grep -q oneprocess $i; then + continue + fi + + echo $i +done + +# vim:set shiftwidth=4 softtabstop=4 expandtab: diff --git a/sc/UITest_calc_tests6.mk b/sc/UITest_calc_tests6.mk index aebee3bceb3d..715f1befff49 100644 --- a/sc/UITest_calc_tests6.mk +++ b/sc/UITest_calc_tests6.mk @@ -17,4 +17,6 @@ $(eval $(call gb_UITest_set_defs,calc_tests6, \ TDOC="$(SRCDIR)/sc/qa/uitest/data" \ )) +$(eval $(call gb_UITest_use_oneprocess,calc_tests6)) + # vim: set noet sw=4 ts=4: diff --git a/sc/UITest_chart.mk b/sc/UITest_chart.mk index 18f77a3fcc83..003c9a322b72 100644 --- a/sc/UITest_chart.mk +++ b/sc/UITest_chart.mk @@ -17,4 +17,6 @@ $(eval $(call gb_UITest_set_defs,chart, \ TDOC="$(SRCDIR)/sc/qa/uitest/data" \ )) +$(eval $(call gb_UITest_use_oneprocess,chart)) + # vim: set noet sw=4 ts=4: diff --git a/sc/UITest_chart2.mk b/sc/UITest_chart2.mk index 1d60c1dd06ce..294b4603088b 100644 --- a/sc/UITest_chart2.mk +++ b/sc/UITest_chart2.mk @@ -17,4 +17,6 @@ $(eval $(call gb_UITest_set_defs,chart2, \ TDOC="$(SRCDIR)/sc/qa/uitest/data" \ )) +$(eval $(call gb_UITest_use_oneprocess,chart2)) + # vim: set noet sw=4 ts=4: diff --git a/sc/UITest_sort.mk b/sc/UITest_sort.mk index 55b4cec6910f..0dced609fece 100644 --- a/sc/UITest_sort.mk +++ b/sc/UITest_sort.mk @@ -17,4 +17,6 @@ $(eval $(call gb_UITest_set_defs,sort, \ TDOC="$(SRCDIR)/sc/qa/uitest/data" \ )) +$(eval $(call gb_UITest_use_oneprocess,sort)) + # vim: set noet sw=4 ts=4: |