1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 include $(SRCDIR
)/sc
/common_unoapi_tests.mk
12 include $(SRCDIR
)/sc
/functions_setup.mk
13 include $(SRCDIR
)/sc
/ucalc_setup.mk
14 include $(SRCDIR
)/sc
/subsequent_setup.mk
16 $(eval
$(call gb_Module_Module
,sc
))
18 $(eval
$(call gb_Module_add_targets
,sc
,\
23 $(call gb_Helper_optional
,OPENCL
,Package_opencl
) \
28 $(eval
$(call gb_Module_add_l10n_targets
,sc
,\
32 ifneq ($(filter SCRIPTING
,$(BUILD_TYPE
)),)
34 $(eval
$(call gb_Module_add_targets
,sc
,\
41 ifneq ($(filter SCRIPTING
,$(BUILD_TYPE
)),)
42 $(eval
$(call gb_Module_add_check_targets
,sc
,\
44 $(if
$(and
$(filter $(COM
),MSC
),$(MERGELIBS
)),, \
45 CppunitTest_sc_ucalc
) \
46 CppunitTest_sc_ucalc_condformat \
47 CppunitTest_sc_ucalc_copypaste \
48 CppunitTest_sc_ucalc_datatransformation \
49 CppunitTest_sc_ucalc_formula \
50 CppunitTest_sc_ucalc_parallelism \
51 CppunitTest_sc_ucalc_pivottable \
52 CppunitTest_sc_ucalc_rangelst \
53 CppunitTest_sc_ucalc_range \
54 CppunitTest_sc_ucalc_sharedformula \
55 CppunitTest_sc_ucalc_sparkline \
56 CppunitTest_sc_ucalc_sort \
57 CppunitTest_sc_bugfix_test \
58 CppunitTest_sc_filters_test \
59 CppunitTest_sc_mark_test \
61 CppunitTest_sc_dataprovider \
62 CppunitTest_sc_cache_test \
63 CppunitTest_sc_shapetest \
67 ifneq ($(DISABLE_GUI
),TRUE
)
69 $(eval
$(call gb_Module_add_check_targets
,sc
,\
70 CppunitTest_sc_tiledrendering \
75 $(eval
$(call gb_Module_add_slowcheck_targets
,sc
, \
76 CppunitTest_sc_anchor_test \
77 CppunitTest_sc_cond_format_merge \
78 CppunitTest_sc_copypaste \
79 CppunitTest_sc_html_export_test \
80 CppunitTest_sc_macros_test \
81 CppunitTest_sc_new_cond_format_api \
82 CppunitTest_sc_pdf_export \
83 CppunitTest_sc_pivottable_filters_test \
84 CppunitTest_sc_sparkline_test \
85 CppunitTest_sc_subsequent_filters_test \
86 CppunitTest_sc_subsequent_filters_test2 \
87 CppunitTest_sc_subsequent_export_test \
88 CppunitTest_sc_subsequent_export_test2 \
89 CppunitTest_sc_uicalc \
90 CppunitTest_sc_vba_macro_test \
94 ifneq ($(ENABLE_JUMBO_SHEETS
),)
95 $(eval
$(call gb_Module_add_slowcheck_targets
,sc
, \
96 CppunitTest_sc_jumbosheets_test \
100 # Various function tests fail in 32-bit linux_x86 build due to dreaded floating
101 # point weirdness (x87, registers, compiler optimization, ... whatever),
102 # disable them until someone finds a real cure.
104 ifneq ($(PLATFORMID
),linux_x86
)
105 $(eval
$(call gb_Module_add_slowcheck_targets
,sc
, \
106 CppunitTest_sc_functions_test_old \
107 CppunitTest_sc_database_functions_test \
108 CppunitTest_sc_array_functions_test \
109 CppunitTest_sc_addin_functions_test \
110 CppunitTest_sc_datetime_functions_test \
111 CppunitTest_sc_financial_functions_test \
112 CppunitTest_sc_information_functions_test \
113 CppunitTest_sc_logical_functions_test \
114 CppunitTest_sc_mathematical_functions_test \
115 CppunitTest_sc_spreadsheet_functions_test \
116 CppunitTest_sc_statistical_functions_test \
117 CppunitTest_sc_text_functions_test \
121 $(eval
$(call gb_Module_add_subsequentcheck_targets
,sc
,\
122 JunitTest_sc_complex \
123 JunitTest_sc_unoapi_1 \
124 JunitTest_sc_unoapi_2 \
125 JunitTest_sc_unoapi_3 \
126 JunitTest_sc_unoapi_4 \
127 JunitTest_sc_unoapi_6 \
128 JunitTest_sc_unoapi_7 \
129 CppunitTest_sc_annotationobj \
130 CppunitTest_sc_annotationshapeobj \
131 CppunitTest_sc_annotationsobj \
132 CppunitTest_sc_arealinkobj \
133 CppunitTest_sc_arealinksobj \
134 CppunitTest_sc_autoformatobj \
135 CppunitTest_sc_autoformatsobj \
136 CppunitTest_sc_cellcursorobj \
137 CppunitTest_sc_cellfieldsobj \
138 CppunitTest_sc_cellformatsenumeration \
139 CppunitTest_sc_cellformatsobj \
140 CppunitTest_sc_cellobj \
141 CppunitTest_sc_cellrangeobj \
142 CppunitTest_sc_cellrangesobj \
143 CppunitTest_sc_cellsearchobj \
144 CppunitTest_sc_cellsenumeration \
145 CppunitTest_sc_cellsobj \
146 CppunitTest_sc_chart2dataprovider \
147 CppunitTest_sc_chartobj \
148 CppunitTest_sc_chartsobj \
149 CppunitTest_sc_check_data_pilot_field \
150 CppunitTest_sc_check_data_pilot_table \
151 CppunitTest_sc_check_xcell_ranges_query \
152 CppunitTest_sc_consolidationdescriptorobj \
153 $(if
$(filter-out $(OS
),iOS
), \
154 CppunitTest_sc_databaserangeobj
) \
155 CppunitTest_sc_databaserangesobj \
156 CppunitTest_sc_datapilotfieldgroupitemobj \
157 CppunitTest_sc_datapilotfieldgroupobj \
158 CppunitTest_sc_datapilotfieldgroupsobj \
159 CppunitTest_sc_datapilotfieldobj \
160 CppunitTest_sc_datapilotfieldsobj \
161 CppunitTest_sc_datapilotitemobj \
162 CppunitTest_sc_datapilotitemsobj \
163 CppunitTest_sc_datapilottableobj \
164 CppunitTest_sc_datapilottablesobj \
165 CppunitTest_sc_ddelinkobj \
166 CppunitTest_sc_ddelinksobj \
167 CppunitTest_sc_documentconfigurationobj \
168 CppunitTest_sc_drawpageobj \
169 CppunitTest_sc_drawpagesobj \
170 CppunitTest_sc_editfieldobj_cell \
171 CppunitTest_sc_editfieldobj_header \
172 CppunitTest_sc_filterdescriptorbase \
173 CppunitTest_sc_functiondescriptionobj \
174 CppunitTest_sc_functionlistobj \
175 CppunitTest_sc_headerfieldsobj \
176 CppunitTest_sc_headerfootercontentobj \
177 CppunitTest_sc_indexenumeration_cellannotationsenumeration \
178 CppunitTest_sc_indexenumeration_cellarealinksenumeration \
179 CppunitTest_sc_indexenumeration_databaserangesenumeration \
180 CppunitTest_sc_indexenumeration_datapilotfieldsenumeration \
181 CppunitTest_sc_indexenumeration_datapilotitemsenumeration \
182 CppunitTest_sc_indexenumeration_datapilottablesenumeration \
183 CppunitTest_sc_indexenumeration_ddelinksenumeration \
184 CppunitTest_sc_indexenumeration_functiondescriptionenumeration \
185 CppunitTest_sc_indexenumeration_labelrangesenumeration \
186 CppunitTest_sc_indexenumeration_namedrangesenumeration \
187 CppunitTest_sc_indexenumeration_scenariosenumeration \
188 CppunitTest_sc_indexenumeration_sheetcellrangesenumeration \
189 CppunitTest_sc_indexenumeration_sheetlinksenumeration \
190 CppunitTest_sc_indexenumeration_spreadsheetsenumeration \
191 CppunitTest_sc_indexenumeration_spreadsheetviewpanesenumeration \
192 CppunitTest_sc_indexenumeration_subtotalfieldsenumeration \
193 CppunitTest_sc_indexenumeration_tableautoformatenumeration \
194 CppunitTest_sc_indexenumeration_tablechartsenumeration \
195 CppunitTest_sc_indexenumeration_tablecolumnsenumeration \
196 CppunitTest_sc_indexenumeration_tableconditionalentryenumeration \
197 CppunitTest_sc_indexenumeration_tablerowsenumeration \
198 CppunitTest_sc_indexenumeration_textfieldenumeration \
199 CppunitTest_sc_importdescriptorbaseobj \
200 CppunitTest_sc_labelrangeobj \
201 CppunitTest_sc_labelrangesobj \
202 CppunitTest_sc_modelobj \
203 CppunitTest_sc_namedrangeobj \
204 CppunitTest_sc_namedrangesobj \
205 CppunitTest_sc_opencl-1 \
206 CppunitTest_sc_opencl-2 \
207 CppunitTest_sc_outlineobj \
208 CppunitTest_sc_recentfunctionsobj \
209 CppunitTest_sc_recordchanges \
210 CppunitTest_sc_scenariosobj \
211 CppunitTest_sc_shapeobj \
212 CppunitTest_sc_sheetlinkobj \
213 CppunitTest_sc_sheetlinksobj \
214 CppunitTest_sc_sortdescriptorbaseobj \
215 CppunitTest_sc_spreadsheetsettings \
216 CppunitTest_sc_spreadsheetsettingsobj \
217 CppunitTest_sc_styleobj \
218 CppunitTest_sc_stylefamiliesobj \
219 CppunitTest_sc_stylefamilyobj \
220 CppunitTest_sc_subtotaldescriptorbase \
221 CppunitTest_sc_subtotalfieldobj \
222 CppunitTest_sc_tablecolumnobj \
223 CppunitTest_sc_tablecolumnsobj \
224 CppunitTest_sc_tableconditionalentryobj \
225 CppunitTest_sc_tableconditionalformat \
226 CppunitTest_sc_tablerowobj \
227 CppunitTest_sc_tablerowsobj \
228 CppunitTest_sc_tablesheetobj \
229 CppunitTest_sc_tablesheetsobj \
230 CppunitTest_sc_tablevalidationobj \
231 CppunitTest_sc_tabviewobj \
232 CppunitTest_sc_uniquecellformatsenumeration \
233 CppunitTest_sc_uniquecellformatsobj \
234 CppunitTest_sc_viewpaneobj \
237 $(eval
$(call gb_Module_add_perfcheck_targets
,sc
,\
238 CppunitTest_sc_perfobj \
239 CppunitTest_sc_tablesheetobj \
242 $(eval
$(call gb_Module_add_subsequentcheck_targets
,sc
,\
243 PythonTest_sc_python \
247 $(eval
$(call gb_Module_add_screenshot_targets
,sc
,\
248 CppunitTest_sc_screenshots \
251 $(eval
$(call gb_Module_add_uicheck_targets
,sc
,\
252 UITest_conditional_format \
257 UITest_search_replace \
264 UITest_external_links \
273 UITest_textToColumns \
274 UITest_signatureLine \
281 UITest_pasteSpecial \
283 UITest_calc_dialogs \
285 UITest_function_wizard \
286 UITest_manual_tests \
290 # vim: set noet sw=4 ts=4: