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 $(eval
$(call gb_CppunitTest_CppunitTest
,smoketest
))
13 $(eval
$(call gb_CppunitTest_abort_on_assertion
,smoketest
))
15 $(eval
$(call gb_CppunitTest_add_exception_objects
,smoketest
,\
16 smoketest
/smoketest_too \
19 $(eval
$(call gb_CppunitTest_use_external
,smoketest
,boost_headers
))
21 $(eval
$(call gb_CppunitTest_use_api
,smoketest
,\
26 $(eval
$(call gb_CppunitTest_use_libraries
,smoketest
,\
33 $(eval
$(call gb_CppunitTest_use_ure
,smoketest
))
35 ifeq ($(ENABLE_MACOSX_SANDBOX
),TRUE
)
36 userinstallation
=$(shell $(INSTROOT
)/$(LIBO_BIN_FOLDER
)/soffice
--nstemporarydirectory
)
38 userinstallation
=$(WORKDIR
)/CustomTarget
/smoketest
41 $(eval
$(call gb_CppunitTest_add_arguments
,smoketest
,\
42 -env
:arg-soffice
=$(gb_JunitTest_SOFFICEARG
) \
43 -env
:arg-user
=$(userinstallation
) \
44 -env
:arg-env
=$(gb_Helper_LIBRARY_PATH_VAR
)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
45 -env
:arg-testarg.smoketest.doc
=$(WORKDIR
)/Zip
/smoketestdoc.sxw \
48 $(call gb_CppunitTest_get_target
,smoketest
): \
49 clean_CustomTarget_smoketest \
50 $(WORKDIR
)/Zip
/smoketestdoc.sxw
52 clean_CustomTarget_smoketest
:
53 rm -rf
$(WORKDIR
)/CustomTarget
/smoketest
54 mkdir
-p
$(WORKDIR
)/CustomTarget
/smoketest
56 $(WORKDIR
)/Zip
/smoketestdoc.sxw
: $(call gb_Zip_get_target
,smoketestdoc
)
59 # vim: set noet sw=4 ts=4: