diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-06 12:53:05 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-06 19:21:19 +0200 |
commit | 141fe1c5e7fbf67a083b34e49e19b6ea78a0eb2b (patch) | |
tree | af5fe19bee951a0987f742971e2f82e1b3f20c3e /sc/CppunitTest_sc_datapilottableobj.mk | |
parent | f4cbd31465d3737855e694b7341fb3bc063d63c4 (diff) |
Process all pending events during Cppunit setUp
Larger unit tests collect a lot of events, which are just processed
on shutdown. But since the Scheduler is just an unsorted linked
list, processing these in order is O(n^2) for lookup, which really
adds up, e.g. sw_ooxmlexport8 has 35047 tasks on shutdown.
So this just processes all pending events before running each unit
test.
Also adds missing spellchecking components to some calc tests.
Change-Id: Icf12146015afc17a1f52f79c18f248b72650ad46
Reviewed-on: https://gerrit.libreoffice.org/43199
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'sc/CppunitTest_sc_datapilottableobj.mk')
-rw-r--r-- | sc/CppunitTest_sc_datapilottableobj.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/CppunitTest_sc_datapilottableobj.mk b/sc/CppunitTest_sc_datapilottableobj.mk index ea953602add4..3ba76c2c288e 100644 --- a/sc/CppunitTest_sc_datapilottableobj.mk +++ b/sc/CppunitTest_sc_datapilottableobj.mk @@ -73,6 +73,7 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilottableobj,\ forms/util/frm \ framework/util/fwk \ i18npool/util/i18npool \ + linguistic/source/lng \ oox/util/oox \ package/source/xstor/xstor \ package/util/package2 \ |