tdf#149186: Table of contents editor not showing buttons in Dutch UI
[LibreOffice.git] / smoketest / CppunitTest_smoketest.mk
blobf7d64cae562f1e00ac36ad9a25146cd6586af9d1
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_add_exception_objects,smoketest,\
14 smoketest/smoketest_too \
17 $(eval $(call gb_CppunitTest_use_external,smoketest,boost_headers))
19 $(eval $(call gb_CppunitTest_use_sdk_api,smoketest))
21 $(eval $(call gb_CppunitTest_use_libraries,smoketest,\
22 cppu \
23 cppuhelper \
24 sal \
25 unotest \
28 $(eval $(call gb_CppunitTest_use_ure,smoketest))
30 ifeq ($(ENABLE_MACOSX_SANDBOX),TRUE)
31 userinstallation=$(shell $(INSTROOT)/$(LIBO_BIN_FOLDER)/soffice --nstemporarydirectory)
32 else
33 userinstallation=$(WORKDIR)/CustomTarget/smoketest
34 endif
36 $(eval $(call gb_CppunitTest_add_arguments,smoketest,\
37 -env:arg-soffice=$(gb_JunitTest_SOFFICEARG) \
38 -env:arg-user=$(userinstallation) \
39 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
40 -env:arg-testarg.smoketest.doc=$(WORKDIR)/Zip/smoketestdoc.sxw \
43 $(call gb_CppunitTest_get_target,smoketest): \
44 clean_CustomTarget_smoketest \
45 $(WORKDIR)/Zip/smoketestdoc.sxw
47 clean_CustomTarget_smoketest:
48 rm -rf $(WORKDIR)/CustomTarget/smoketest
49 mkdir -p $(WORKDIR)/CustomTarget/smoketest/user
50 cp $(SRCDIR)/qadevOOo/qa/registrymodifications.xcu $(WORKDIR)/CustomTarget/smoketest/user
52 $(WORKDIR)/Zip/smoketestdoc.sxw: $(call gb_Zip_get_target,smoketestdoc)
53 cp $< $@
55 # vim: set noet sw=4 ts=4: