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
13 $(eval
$(call gb_Module_Module
,sc
))
15 $(eval
$(call gb_Module_add_targets
,sc
,\
19 $(call gb_Helper_optional
,DESKTOP
,Library_scui
) \
20 $(call gb_Helper_optional
,OPENCL
,Package_opencl
) \
25 $(eval
$(call gb_Module_add_l10n_targets
,sc
,\
29 ifneq ($(filter SCRIPTING
,$(BUILD_TYPE
)),)
31 $(eval
$(call gb_Module_add_targets
,sc
,\
38 $(eval
$(call gb_Module_add_check_targets
,sc
,\
40 $(if
$(and
$(filter $(COM
),MSC
),$(MERGELIBS
)),, \
41 CppunitTest_sc_ucalc
) \
42 CppunitTest_sc_bugfix_test \
43 CppunitTest_sc_filters_test \
44 CppunitTest_sc_rangelst_test \
45 CppunitTest_sc_range_test \
46 CppunitTest_sc_mark_test \
48 CppunitTest_sc_dataprovider \
49 CppunitTest_sc_datatransformation \
50 CppunitTest_sc_cache_test \
53 ifneq ($(ENABLE_HEADLESS
),TRUE
)
55 $(eval
$(call gb_Module_add_check_targets
,sc
,\
56 CppunitTest_sc_tiledrendering \
61 $(eval
$(call gb_Module_add_slowcheck_targets
,sc
, \
62 CppunitTest_sc_cond_format_merge \
63 CppunitTest_sc_new_cond_format_api \
64 CppunitTest_sc_subsequent_filters_test \
65 CppunitTest_sc_subsequent_export_test \
66 CppunitTest_sc_html_export_test \
67 CppunitTest_sc_copypaste \
68 CppunitTest_sc_pivottable_filters_test \
71 # Various function tests fail in 32-bit linux_x86 build due to dreaded floating
72 # point weirdness (x87, registers, compiler optimization, ... whatever),
73 # disable them until someone finds a real cure.
75 ifneq ($(filter-out linux_aarch64 linux_x86
,$(PLATFORMID
)),)
76 $(eval
$(call gb_Module_add_slowcheck_targets
,sc
, \
77 CppunitTest_sc_functions_test_old \
78 CppunitTest_sc_database_functions_test \
79 CppunitTest_sc_array_functions_test \
80 CppunitTest_sc_addin_functions_test \
81 CppunitTest_sc_datetime_functions_test \
82 CppunitTest_sc_financial_functions_test \
83 CppunitTest_sc_information_functions_test \
84 CppunitTest_sc_logical_functions_test \
85 CppunitTest_sc_mathematical_functions_test \
86 CppunitTest_sc_spreadsheet_functions_test \
87 CppunitTest_sc_statistical_functions_test \
88 CppunitTest_sc_text_functions_test \
92 # Disabled to allow the check tinderbox execute the sd tests
93 # CppunitTest_sc_chart_regression_test \
95 $(eval
$(call gb_Module_add_subsequentcheck_targets
,sc
,\
96 JunitTest_sc_complex \
97 JunitTest_sc_unoapi_1 \
98 JunitTest_sc_unoapi_2 \
99 JunitTest_sc_unoapi_3 \
100 JunitTest_sc_unoapi_4 \
101 JunitTest_sc_unoapi_5 \
102 JunitTest_sc_unoapi_6 \
103 JunitTest_sc_unoapi_7 \
104 CppunitTest_sc_opencl_test \
105 CppunitTest_sc_parallelism \
106 CppunitTest_sc_anchor_test \
107 CppunitTest_sc_annotationshapeobj \
108 CppunitTest_sc_outlineobj \
109 CppunitTest_sc_styleloaderobj \
110 CppunitTest_sc_recordchanges \
111 CppunitTest_sc_annotationobj \
112 CppunitTest_sc_annotationsobj \
113 CppunitTest_sc_cellrangeobj \
114 $(if
$(filter-out $(OS
),IOS
), \
115 CppunitTest_sc_databaserangeobj
) \
116 CppunitTest_sc_datapilottableobj \
117 CppunitTest_sc_datapilotfieldobj \
118 CppunitTest_sc_macros_test \
119 CppunitTest_sc_namedrangeobj \
120 CppunitTest_sc_namedrangesobj \
121 CppunitTest_sc_tablesheetobj \
122 CppunitTest_sc_tablesheetsobj \
123 CppunitTest_sc_editfieldobj_cell \
124 CppunitTest_sc_editfieldobj_header \
125 CppunitTest_sc_modelobj \
126 CppunitTest_sc_check_xcell_ranges_query \
127 CppunitTest_sc_check_data_pilot_field \
128 CppunitTest_sc_check_data_pilot_table \
129 CppunitTest_sc_viewpaneobj \
130 CppunitTest_sc_cellobj \
131 CppunitTest_sc_cellcursorobj \
132 CppunitTest_sc_tabviewobj \
133 CppunitTest_sc_arealinkobj \
134 CppunitTest_sc_subtotaldescriptorbaseobj \
135 CppunitTest_sc_datapilotitemobj \
136 CppunitTest_sc_subtotalfieldobj \
137 CppunitTest_sc_arealinksobj \
138 CppunitTest_sc_cellrangesobj \
139 CppunitTest_sc_filterdescriptorbaseobj \
140 CppunitTest_sc_tablevalidationobj \
141 CppunitTest_sc_tableconditionalentryobj \
142 CppunitTest_sc_tableconditionalformatobj \
143 CppunitTest_sc_scenariosobj \
144 CppunitTest_sc_labelrangesobj \
145 CppunitTest_sc_labelrangeobj \
146 CppunitTest_sc_headerfootercontentobj \
147 CppunitTest_sc_recentfunctionsobj \
148 CppunitTest_sc_functionlistobj \
149 CppunitTest_sc_datapilottablesobj \
150 CppunitTest_sc_databaserangesobj \
151 CppunitTest_sc_consolidationdescriptorobj \
152 CppunitTest_sc_chart2dataprovider \
153 CppunitTest_sc_autoformatobj \
154 CppunitTest_sc_importdescriptorbaseobj \
155 CppunitTest_sc_documentconfigurationobj \
156 CppunitTest_sc_spreadsheetsettings \
157 CppunitTest_sc_shapeobj \
158 CppunitTest_sc_sheetlinkobj \
159 CppunitTest_sc_spreadsheetsettingsobj \
160 CppunitTest_sc_ddelinkobj \
161 CppunitTest_sc_functiondescriptionobj \
162 CppunitTest_sc_sortdescriptorbaseobj \
165 $(eval
$(call gb_Module_add_perfcheck_targets
,sc
,\
166 CppunitTest_sc_perfobj \
167 CppunitTest_sc_tablesheetobj \
170 ifneq ($(DISABLE_PYTHON
),TRUE
)
171 $(eval
$(call gb_Module_add_subsequentcheck_targets
,sc
,\
172 PythonTest_sc_python \
177 $(eval
$(call gb_Module_add_screenshot_targets
,sc
,\
178 CppunitTest_sc_screenshots \
181 $(eval
$(call gb_Module_add_uicheck_targets
,sc
,\
182 UITest_conditional_format \
186 UITest_search_replace \
202 # vim: set noet sw=4 ts=4: