Use o3tl::convert in Math
[LibreOffice.git] / testtools / CustomTarget_uno_test.mk
blob4850e5ca66b288d85dc5008c76ad0adb0c8aaa87
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/.
10 $(eval $(call gb_CustomTarget_CustomTarget,testtools/uno_test))
12 # this target is phony to run it every time
13 .PHONY : $(call gb_CustomTarget_get_target,testtools/uno_test)
15 $(call gb_CustomTarget_get_target,testtools/uno_test) : \
16 $(call gb_Executable_get_runtime_dependencies,uno) \
17 $(call gb_InternalUnoApi_get_target,bridgetest) \
18 $(call gb_Package_get_target,instsetoo_native_setup_ure) \
19 $(call gb_Rdb_get_target,uno_services) \
20 $(call gb_Rdb_get_target,ure/services) \
21 $(call gb_UnoApi_get_target,udkapi)
22 ifneq ($(gb_SUPPRESS_TESTS),)
23 @true
24 else
25 $(call gb_Helper_abbreviate_dirs,\
26 $(call gb_Executable_get_command,uno) \
27 -s com.sun.star.test.bridge.BridgeTest \
28 -- com.sun.star.test.bridge.CppTestObject \
29 -env:LO_BUILD_LIB_DIR=$(call gb_Helper_make_url,$(gb_Library_WORKDIR_FOR_BUILD)) \
30 -env:URE_MORE_SERVICES=$(call gb_Helper_make_url,$(call gb_Rdb_get_target,uno_services)) \
31 -env:URE_MORE_TYPES=$(call gb_Helper_make_url,$(WORKDIR)/UnoApiTarget/bridgetest.rdb))
32 endif
34 # vim:set shiftwidth=4 tabstop=4 noexpandtab: