1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 gb_CppunitTest_UNITTESTFAILED ?
= $(GBUILDDIR
)/platform
/unittest-failed-default.sh
23 gb_CppunitTest_PYTHONDEPS ?
= $(call gb_Library_get_target
,pyuno_wrapper
) $(if
$(SYSTEM_PYTHON
),,$(call gb_Package_get_target
,python3
))
25 ifneq ($(strip $(CPPUNITTRACE
)),)
26 ifneq ($(filter gdb
,$(CPPUNITTRACE
)),)
27 # sneak (a) setting the LD_LIBRARY_PATH, and (b) setting malloc debug flags, into the "gdb --args" command line
28 gb_CppunitTest_GDBTRACE
:= $(subst gdb
,\
29 PYTHONWARNINGS
=default gdb
-return-child-result
-ex
"add-auto-load-safe-path $(INSTDIR)" -ex
"set environment $(subst =, ,$(gb_CppunitTest_CPPTESTPRECOMMAND))" $(if
$(PYTHONWARNINGS
),-ex
'set environment PYTHONWARNINGS $(PYTHONWARNINGS)') $(gb_CppunitTest_malloc_check
) $(gb_CppunitTest_DEBUGCPPUNIT
),\
31 gb_PythonTest_GDBTRACE
:= $(subst gdb
,\
32 PYTHONWARNINGS
=default gdb
-return-child-result
-ex
"add-auto-load-safe-path $(INSTDIR)" -ex
"set environment $(subst =, ,$(gb_PythonTest_PRECOMMAND))" $(if
$(PYTHONWARNINGS
),-ex
'set environment PYTHONWARNINGS $(PYTHONWARNINGS)') $(gb_CppunitTest_malloc_check
) $(gb_CppunitTest_DEBUGCPPUNIT
),\
34 else ifneq ($(filter lldb
,$(CPPUNITTRACE
)),)
35 gb_CppunitTest_GDBTRACE
:= $(subst lldb
,\
36 lldb
-o
"env $(gb_CppunitTest_CPPTESTPRECOMMAND)" $(gb_CppunitTest_malloc_check
),\
38 gb_PythonTest_GDBTRACE
:= $(gb_CppunitTest_GDBTRACE
)
40 gb_CppunitTest_GDBTRACE
:= $(CPPUNITTRACE
)
41 gb_PythonTest_GDBTRACE
:= $(gb_CppunitTest_GDBTRACE
)
43 ifneq ($(strip $(DEBUGCPPUNIT
)),TRUE
)
44 gb_CppunitTest__interactive
:= $(true
)
48 ifneq ($(strip $(VALGRIND
)),)
49 gb_CppunitTest_VALGRINDTOOL
:= valgrind
--tool
=$(VALGRIND
) --num-callers
=50 --error-exitcode
=1 --trace-children
=yes
--trace-children-skip
='*/java,*/gij'
50 ifneq ($(strip $(VALGRIND_GDB
)),)
51 gb_CppunitTest_VALGRINDTOOL
+= --vgdb
=yes
--vgdb-error
=0
53 ifeq ($(strip $(VALGRIND
)),memcheck
)
54 G_SLICE
:= always-malloc
55 GLIBCXX_FORCE_NEW
:= 1
59 ifneq (,$(filter perfcheck
,$(MAKECMDGOALS
)))
60 $(if
$(ENABLE_VALGRIND
),,$(call gb_Output_error
,Running performance tests with empty
$$(ENABLE_VALGRIND
) does not make sense. Please
install valgrind-dev and re-run autogen.
))
61 gb_CppunitTest_VALGRINDTOOL
:= valgrind
--tool
=callgrind
--dump-instr
=yes
--instr-atstart
=no
--simulate-cache
=yes
--dump-instr
=yes
--collect-bus
=yes
--branch-sim
=yes
62 ifneq ($(strip $(VALGRIND_GDB
)),)
63 gb_CppunitTest_VALGRINDTOOL
+= --vgdb
=yes
--vgdb-error
=0
67 ifneq ($(strip $(RR
)),)
68 gb_CppunitTest_RR
:= rr record
72 # gb_CppunitTest_get_filename
73 gb_CppunitTest_RUNTIMEDEPS
:= $(call gb_Executable_get_runtime_dependencies
,cppunittester
)
74 gb_CppunitTest_CPPTESTCOMMAND
:= $(call gb_Executable_get_target_for_build
,cppunittester
)
76 # i18npool dlopens localedata_* libraries.
77 gb_CppunitTest_RUNTIMEDEPS
+= \
78 $(call gb_Library_get_target
,localedata_en
) \
79 $(call gb_Library_get_target
,localedata_es
) \
80 $(call gb_Library_get_target
,localedata_euro
) \
81 $(call gb_Library_get_target
,localedata_others
) \
82 $(call gb_Package_get_target
,test_unittest
) \
84 define gb_CppunitTest__make_args
86 "-env:BRAND_BASE_DIR=$(call gb_Helper_make_url,$(INSTROOT))" \
87 "-env:BRAND_SHARE_SUBDIR=$(LIBO_SHARE_FOLDER)" \
88 "-env:BRAND_SHARE_RESOURCE_SUBDIR=$(LIBO_SHARE_RESOURCE_FOLDER)" \
89 "-env:UserInstallation=$(call gb_Helper_make_url,$(call gb_CppunitTest_get_target,$*).user)" \
91 $(if
$(strip $(CONFIGURATION_LAYERS
)),\
92 "-env:CONFIGURATION_LAYERS=$(strip $(CONFIGURATION_LAYERS))") \
93 $(if
$(strip $(UNO_TYPES
)),\
94 "-env:UNO_TYPES=$(foreach item,$(UNO_TYPES),$(call gb_Helper_make_url,$(item)))") \
95 $(if
$(strip $(UNO_SERVICES
)),\
96 "-env:UNO_SERVICES=$(foreach item,$(UNO_SERVICES),$(call gb_Helper_make_url,$(item)))") \
97 -env
:URE_INTERNAL_LIB_DIR
=$(call gb_Helper_make_url
,$(INSTROOT
)/$(LIBO_URE_LIB_FOLDER
)) \
98 -env
:LO_LIB_DIR
=$(call gb_Helper_make_url
,$(INSTROOT
)/$(LIBO_LIB_FOLDER
)) \
99 -env
:LO_JAVA_DIR
=$(call gb_Helper_make_url
,$(INSTROOT
)/$(LIBO_SHARE_JAVA_FOLDER
)) \
100 --protector
$(call gb_Library_get_target
,unoexceptionprotector
) unoexceptionprotector \
101 --protector
$(call gb_Library_get_target
,unobootstrapprotector
) unobootstrapprotector \
104 --protector
$(call gb_Library_get_target
,vclbootstrapprotector
) vclbootstrapprotector \
109 .PHONY
: $(call gb_CppunitTest_get_clean_target
,%)
110 $(call gb_CppunitTest_get_clean_target
,%) :
111 $(call gb_Helper_abbreviate_dirs
,\
112 rm -f
$(call gb_CppunitTest_get_target
,$*) $(call gb_CppunitTest_get_target
,$*).log
)
114 .PHONY
: $(call gb_CppunitTest_get_target
,%)
115 $(call gb_CppunitTest_get_target
,%) :|
$(gb_CppunitTest_RUNTIMEDEPS
)
116 ifneq ($(gb_SUPPRESS_TESTS
),)
119 $(call gb_Output_announce
,$*,$(true
),CUT
,2)
120 $(call gb_Trace_StartRange
,$*,CUT
)
121 $(call gb_Helper_abbreviate_dirs
,\
122 mkdir
-p
$(dir $@
) && \
123 rm -fr
$@.user
&& cp
-r
$(WORKDIR
)/unittest
$@.user
&& \
124 $(if
$(gb_CppunitTest__use_confpreinit
), \
125 $(INSTDIR
)/program
/lokconf_init
$(call gb_CppunitTest__make_args
) &&) \
126 $(if
$(gb_CppunitTest__interactive
),, \
127 $(if
$(value gb_CppunitTest_postprocess
), \
128 rm -fr
$@.core
&& mkdir
$@.core
&& cd
$@.core
&&)) \
130 $(if
$(gb_CppunitTest_localized
),for l in
$(WITH_LANG_LIST
) ; do \
131 printf
'LO_TEST_LOCALE=%s\n' "$$l" && LO_TEST_LOCALE
="$$l" ) \
132 $(if
$(gb_CppunitTest__vcl_no_svp
), \
133 $(filter-out SAL_USE_VCLPLUGIN
=svp
,$(gb_TEST_ENV_VARS
)),$(gb_TEST_ENV_VARS
)) \
135 $(if
$(filter gdb
,$(gb_CppunitTest_GDBTRACE
)),,$(gb_CppunitTest_CPPTESTPRECOMMAND
)) \
136 $(if
$(G_SLICE
),G_SLICE
=$(G_SLICE
)) \
137 $(if
$(GLIBCXX_FORCE_NEW
),GLIBCXX_FORCE_NEW
=$(GLIBCXX_FORCE_NEW
)) \
138 $(if
$(strip $(PYTHON_URE
)),\
139 PYTHONDONTWRITEBYTECODE
=1) \
140 $(ICECREAM_RUN
) $(gb_CppunitTest_GDBTRACE
) $(gb_CppunitTest_VALGRINDTOOL
) $(gb_CppunitTest_RR
) \
141 $(gb_CppunitTest_CPPTESTCOMMAND
) \
142 $(call gb_LinkTarget_get_target
,$(call gb_CppunitTest_get_linktarget
,$*)) \
143 $(call gb_CppunitTest__make_args
) "-env:CPPUNITTESTTARGET=$@" \
144 $(if
$(gb_CppunitTest_localized
),|| exit
$$?
; done
) \
146 $(if
$(gb_CppunitTest__interactive
),, \
148 ||
($(if
$(value gb_CppunitTest_postprocess
), \
150 $(call gb_CppunitTest_postprocess
,$(gb_CppunitTest_CPPTESTCOMMAND
),$@.core
,$$RET) >> $@.log
2>&1;) \
151 cat
$@.log
; $(gb_CppunitTest_UNITTESTFAILED
) Cppunit
$*)))
152 $(call gb_Trace_EndRange
,$*,CUT
)
155 define gb_CppunitTest_CppunitTest
156 $(call gb_CppunitTest__CppunitTest_impl
,$(1),$(call gb_CppunitTest_get_linktarget
,$(1)))
160 define gb_CppunitTest_CppunitScreenShot
161 $(call gb_CppunitTest_get_target
,$(1)) : gb_CppunitTest_localized
:= $(true
)
162 $(call gb_CppunitTest__CppunitTest_impl
,$(1),$(call gb_CppunitTest_get_linktarget
,$(1)))
166 define gb_CppunitTest_register_target
169 # call gb_CppunitTest__CppunitTest_impl,cppunittest,linktarget
170 define gb_CppunitTest__CppunitTest_impl
171 $(call gb_CppunitTest_register_target
, $(1), $(2), "test")
172 $(call gb_LinkTarget_LinkTarget
,$(2),CppunitTest_
$(1),NONE
)
173 $(call gb_LinkTarget_set_targettype
,$(2),CppunitTest
)
174 $(call gb_LinkTarget_add_libs
,$(2),$(gb_STDLIBS
))
175 $(call gb_LinkTarget_add_defs
,$(2),\
176 $(gb_CppunitTest_DEFS
) \
178 $(call gb_LinkTarget_use_external
,$(2),cppunit
)
179 $(call gb_LinkTarget_set_include
,$(2),\
181 $(filter -I
%,$(CPPUNIT_CFLAGS
)) \
183 $(call gb_LinkTarget_add_defs
,$(2), \
184 $(filter-out -I
%,$(CPPUNIT_CFLAGS
)) \
185 -DCPPUNIT_PLUGIN_EXPORT
='extern "C" SAL_DLLPUBLIC_EXPORT' \
187 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_LinkTarget_get_target
,$(2))
188 $(call gb_CppunitTest_get_clean_target
,$(1)) : $(call gb_LinkTarget_get_clean_target
,$(2))
189 $(call gb_CppunitTest_CppunitTest_platform
,$(1),$(2),$(gb_CppunitTest_DLLDIR
)/$(call gb_CppunitTest_get_ilibfilename
,$(1)))
190 $(call gb_CppunitTest_get_target
,$(1)) : ARGS
:=
191 $(call gb_CppunitTest_get_target
,$(1)) : CONFIGURATION_LAYERS
:=
192 $(call gb_CppunitTest_get_target
,$(1)) : PYTHON_URE
:= $(false
)
193 $(call gb_CppunitTest_get_target
,$(1)) : URE
:= $(false
)
194 $(call gb_CppunitTest_get_target
,$(1)) : VCL
:= $(false
)
195 $(call gb_CppunitTest_get_target
,$(1)) : UNO_SERVICES
:=
196 $(call gb_CppunitTest_get_target
,$(1)) : UNO_TYPES
:=
197 $(call gb_CppunitTest_get_target
,$(1)) : HEADLESS
:= --headless
198 $(call gb_CppunitTest_get_target
,$(1)) : EXTRA_ENV_VARS
:=
199 $$(eval
$$(call gb_Module_register_target
,$(call gb_CppunitTest_get_target
,$(1)),$(call gb_CppunitTest_get_clean_target
,$(1))))
200 $(call gb_Helper_make_userfriendly_targets
,$(1),CppunitTest
)
204 # Add additional command line arguments for the test.
206 # You should practically never need to use this, as there are special
207 # functions for adding many commonly used arguments.
208 define gb_CppunitTest_add_arguments
209 $(call gb_CppunitTest_get_target
,$(1)) : ARGS
+= $(2)
213 define gb_CppunitTest_use_ure
214 $(call gb_CppunitTest_use_rdb
,$(1),ure
/services
)
215 $(call gb_CppunitTest_get_target
,$(1)) : URE
:= $(true
)
216 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Library_get_target
,$(CPPU_ENV
)_uno
)
217 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Library_get_target
,affine_uno
)
218 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Library_get_target
,unobootstrapprotector
)
219 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Library_get_target
,unoexceptionprotector
)
223 # $(2) == $(true) if headless:
224 define gb_CppunitTest__use_vcl
225 $(call gb_CppunitTest_get_target
,$(1)) : VCL
:= $(true
)
226 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Library_get_target
,vclbootstrapprotector
)
227 ifeq ($(USING_X11
),TRUE
)
228 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Library_get_target
,desktop_detector
)
229 $(call gb_CppunitTest_get_target
,$(1)) : $(if
$(filter $(2),$(true
)),, \
230 $(call gb_Library_get_target
,vclplug_gen
) \
231 $(if
$(ENABLE_GTK3
),$(call gb_Library_get_target
,vclplug_gtk3
)) \
232 $(if
$(ENABLE_GTK4
),$(call gb_Library_get_target
,vclplug_gtk4
)) \
233 $(if
$(ENABLE_QT5
),$(call gb_Library_get_target
,vclplug_qt5
)) \
234 $(if
$(ENABLE_QT6
),$(call gb_Library_get_target
,vclplug_qt6
)) \
236 else ifeq ($(OS
),MACOSX
)
237 $(call gb_CppunitTest_get_target
,$(1)): $(call gb_Library_get_target
,vclplug_osx
)
238 else ifeq ($(OS
),WNT
)
239 $(call gb_CppunitTest_get_target
,$(1)): $(call gb_Library_get_target
,vclplug_win
)
244 define gb_CppunitTest_use_confpreinit
245 $(call gb_CppunitTest_use_executable
,$(1),lokconf_init
)
246 $(call gb_CppunitTest_get_target
,$(1)) : gb_CppunitTest__use_confpreinit
:= TRUE
250 define gb_CppunitTest_use_vcl
251 $(call gb_CppunitTest__use_vcl
,$(1),$(true
))
255 define gb_CppunitTest_use_vcl_non_headless
256 $(call gb_CppunitTest_get_target
,$(1)) : gb_CppunitTest__vcl_no_svp
:= $(true
)
257 $(call gb_CppunitTest__use_vcl
,$(1),$(false
))
261 define gb_CppunitTest_use_vcl_non_headless_with_windows
262 $(call gb_CppunitTest_get_target
,$(1)) : HEADLESS
:=
263 $(call gb_CppunitTest_get_target
,$(1)) : gb_CppunitTest__vcl_no_svp
:= $(true
)
264 $(call gb_CppunitTest__use_vcl
,$(1),$(false
))
268 define gb_CppunitTest_localized_run
269 $(call gb_CppunitTest_get_target
,$(1)) : gb_CppunitTest_localized
:= $(true
)
273 define gb_CppunitTest__use_api
274 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_UnoApi_get_target
,$(2))
275 $(call gb_CppunitTest_get_target
,$(1)) : UNO_TYPES
+= $(call gb_UnoApi_get_target
,$(2))
279 define gb_CppunitTest_use_api
280 $(call gb_LinkTarget_use_api
,$(call gb_CppunitTest_get_linktarget
,$(1)),$(2))
281 $(foreach rdb
,$(2),$(call gb_CppunitTest__use_api
,$(1),$(rdb
)))
285 define gb_CppunitTest_use_udk_api
286 $(call gb_CppunitTest_use_api
,$(1),udkapi
)
290 define gb_CppunitTest_use_sdk_api
291 $(call gb_CppunitTest_use_api
,$(1),udkapi offapi
)
295 define gb_CppunitTest_use_rdb
296 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Rdb_get_target_for_build
,$(2))
297 $(call gb_CppunitTest_get_target
,$(1)) : UNO_SERVICES
+= $(call gb_Rdb_get_target_for_build
,$(2))
301 define gb_CppunitTest_use_rdbs
302 $(foreach rdb
,$(2),$(call gb_CppunitTest_use_rdb
,$(1),$(rdb
)))
306 define gb_CppunitTest_use_component
307 $(call gb_CppunitTest_get_target
,$(1)) : \
308 $(call gb_ComponentTarget_get_target
,$(2))
309 $(call gb_CppunitTest_get_target
,$(1)) : \
310 UNO_SERVICES
+= $(call gb_ComponentTarget_get_target
,$(2))
314 define gb_CppunitTest_set_componentfile
315 $(call gb_ComponentTarget_ComponentTarget
,CppunitTest
/$(2),\
316 $(call gb_Helper_make_url
,$(gb_CppunitTest_DLLDIR
))/,\
317 $(call gb_CppunitTest_get_filename
,$(1)))
318 $(call gb_CppunitTest_get_target
,$(1)) : \
319 $(call gb_ComponentTarget_get_target
,CppunitTest
/$(2))
320 $(call gb_CppunitTest_get_clean_target
,$(1)) : \
321 $(call gb_ComponentTarget_get_clean_target
,CppunitTest
/$(2))
322 $(call gb_CppunitTest_use_component
,$(1),CppunitTest
/$(2))
326 # Given a list of component files, filter out those corresponding
327 # to libraries not built in this configuration.
328 define gb_CppunitTest__filter_not_built_components
330 $(if
$(filter SCRIPTING
,$(BUILD_TYPE
)),, \
333 scripting
/source
/basprov
/basprov \
334 scripting
/util
/scriptframe
) \
335 $(if
$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)),, \
337 forms
/util
/frm
),$(1))
340 define gb_CppunitTest_use_components
341 $(foreach component
,$(call gb_CppunitTest__filter_not_built_components
,$(2)),$(call gb_CppunitTest_use_component
,$(1),$(component
)))
345 define gb_CppunitTest__use_configuration
346 $(call gb_CppunitTest_get_target
,$(1)) : CONFIGURATION_LAYERS
+= $(2):$(call gb_Helper_make_url
,$(3))
350 # Use instdir configuration
351 define gb_CppunitTest_use_instdir_configuration
352 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Package_get_target
,postprocess_registry
)
353 $(call gb_CppunitTest__use_configuration
,$(1),xcsxcu
,$(INSTROOT
)/$(LIBO_SHARE_FOLDER
)/registry
)
357 # Use configuration in $(WORKDIR)/unittest/registry.
358 define gb_CppunitTest_use_unittest_configuration
359 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Package_get_target
,test_unittest
)
360 $(call gb_CppunitTest__use_configuration
,$(1),xcsxcu
,$(WORKDIR
)/unittest
/registry
)
364 # Use standard configuration: instdir config + unittest config (in this order!)
365 define gb_CppunitTest_use_configuration
366 $(call gb_CppunitTest_use_instdir_configuration
,$(1))
367 $(call gb_CppunitTest_use_unittest_configuration
,$(1))
371 define gb_CppunitTest_use_executable
372 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Executable_get_target
,$(2))
376 define gb_CppunitTest_use_more_fonts
377 ifneq ($(filter MORE_FONTS
,$(BUILD_TYPE
)),)
378 $(call gb_CppunitTest_get_target
,$(1)) : \
379 $(foreach font
,$(gb_Package_MODULE_ooo_fonts
),$(call gb_Package_get_target
,$(font
)))
384 define gb_CppunitTest__use_java_ure
385 $(call gb_CppunitTest_get_target
,$(1)) : \
386 $(foreach jar
,java_uno libreoffice unoloader
,$(call gb_Jar_get_target
,$(jar
))) \
387 $(call gb_Library_get_target
,affine_uno_uno
) \
388 $(call gb_Library_get_target
,java_uno
) \
389 $(call gb_Library_get_target
,jpipe
) \
390 $(call gb_Library_get_target
,juhx
) \
391 $(call gb_Library_get_target
,juhx
) \
392 $(call gb_Library_get_target
,jvmaccess
) \
393 $(call gb_Library_get_target
,jvmfwk
) \
394 $(call gb_Package_get_target
,jvmfwk_javavendors
) \
395 $(call gb_Package_get_target
,jvmfwk_jreproperties
) \
396 $(call gb_Package_get_target
,jvmfwk_jvmfwk3_ini
) \
400 define gb_CppunitTest_use_jar
401 $(call gb_CppunitTest__use_java_ure
,$(1))
402 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_Jar_get_target
,$(2))
406 define gb_CppunitTest_use_jars
407 $(foreach jar
,$(2),$(call gb_CppunitTest_use_jar
,$(1),$(jar
)))
411 define gb_CppunitTest_use_python_ure
412 $(call gb_CppunitTest_get_target
,$(1)) : PYTHON_URE
:= $(true
)
413 $(call gb_CppunitTest_get_target
,$(1)) :\
414 $(call gb_Library_get_target
,pythonloader
) \
415 $(call gb_Library_get_target
,pyuno
) \
416 $(gb_CppunitTest_PYTHONDEPS
) \
417 $(call gb_Package_get_target
,pyuno_python_scripts
)
421 define gb_CppunitTest_use_uiconfig
422 $(call gb_CppunitTest_get_target
,$(1)) : $(call gb_UIConfig_get_target
,$(2))
426 define gb_CppunitTest_use_uiconfigs
427 $(foreach uiconfig
,$(2),$(call gb_CppunitTest_use_uiconfig
,$(1),$(uiconfig
)))
431 # forward the call to the gb_LinkTarget implementation
432 # (note: because the function name is in $(1), the other args are shifted by 1)
433 define gb_CppunitTest__forward_to_Linktarget
434 $(call gb_LinkTarget_
$(subst gb_CppunitTest_
,,$(1)),$(call gb_CppunitTest_get_linktarget
,$(2)),$(3),$(4),CppunitTest_
$(2))
438 # copy pasta for forwarding: this could be (and was) done more elegantly, but
439 # these here can be found by both git grep and ctags
440 gb_CppunitTest_add_cobject
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
441 gb_CppunitTest_add_cobjects
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
442 gb_CppunitTest_add_cxxobject
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
443 gb_CppunitTest_add_cxxobjects
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
444 gb_CppunitTest_add_exception_objects
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
445 gb_CppunitTest_use_executable_objects
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
446 gb_CppunitTest_use_library_objects
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
447 gb_CppunitTest_use_libraries
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
448 gb_CppunitTest_use_static_libraries
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
449 gb_CppunitTest_add_objcobject
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
450 gb_CppunitTest_add_objcobjects
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
451 gb_CppunitTest_add_objcxxobject
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
452 gb_CppunitTest_add_objcxxobjects
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
453 gb_CppunitTest_add_cxxclrobject
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
454 gb_CppunitTest_add_cxxclrobjects
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
455 gb_CppunitTest_add_asmobject
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
456 gb_CppunitTest_add_asmobjects
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
457 gb_CppunitTest_use_package
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
458 gb_CppunitTest_use_packages
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
459 gb_CppunitTest_set_precompiled_header
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
460 gb_CppunitTest_reuse_precompiled_header
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
461 gb_CppunitTest_use_common_precompiled_header
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
462 gb_CppunitTest_add_sdi_headers
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
463 gb_CppunitTest_add_cflags
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
464 gb_CppunitTest_set_cflags
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
465 gb_CppunitTest_add_cxxflags
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
466 gb_CppunitTest_set_yaccflags
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
467 gb_CppunitTest_add_objcflags
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
468 gb_CppunitTest_add_objcxxflags
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
469 gb_CppunitTest_add_cxxclrflags
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
470 gb_CppunitTest_add_defs
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
471 gb_CppunitTest_set_include
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
472 gb_CppunitTest_add_ldflags
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
473 gb_CppunitTest_set_ldflags
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
474 gb_CppunitTest_add_libs
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
475 gb_CppunitTest_disable_standard_system_libs
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
476 gb_CppunitTest_use_system_darwin_frameworks
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
477 gb_CppunitTest_use_system_win32_libs
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
478 gb_CppunitTest_use_internal_api
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
479 gb_CppunitTest_use_internal_bootstrap_api
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
480 gb_CppunitTest_use_internal_comprehensive_api
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
481 gb_CppunitTest_set_library_path_flags
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
482 gb_CppunitTest_use_external
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
483 gb_CppunitTest_use_externals
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
484 gb_CppunitTest_use_custom_headers
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
485 gb_CppunitTest_set_visibility_default
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
486 gb_CppunitTest_set_warnings_not_errors
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
487 gb_CppunitTest_set_warnings_disabled
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
488 gb_CppunitTest_set_external_code
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
489 gb_CppunitTest_set_generated_cxx_suffix
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
490 gb_CppunitTest_use_clang
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
491 gb_CppunitTest_set_clang_precompiled_header
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
492 gb_CppunitTest_use_glxtest
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
493 gb_CppunitTest_use_vclmain
= $(call gb_CppunitTest__forward_to_Linktarget
,$(0),$(1),$(2),$(3))
495 # vim: set noet sw=4: