lok: be informative and exit when tilebench fails to initialize
[LibreOffice.git] / smoketest / Module_smoketest.mk
blob7e8b6d5f11f609f66470dd2aae628e2e26a13bb5
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_Module_Module,smoketest))
13 ifeq ($(CROSS_COMPILING),)
15 $(eval $(call gb_Module_add_targets,smoketest,\
16 Library_smoketest \
17 Zip_smoketestdoc \
20 ifneq ($(ENABLE_JAVA),)
21 ifneq ($(filter EXTENSIONS,$(BUILD_TYPE)),)
22 $(eval $(call gb_Module_add_targets,smoketest,\
23 Extension_TestExtension \
24 Jar_TestExtension \
26 endif
27 endif
29 ifneq ($(filter LINUX WNT,$(OS)),)
30 $(eval $(call gb_Module_add_check_targets,smoketest,\
31 Executable_libtest \
33 endif
35 ifneq (MACOSX/TRUE,$(OS)/$(ENABLE_MACOSX_SANDBOX))
36 ifneq ($(filter EXTENSIONS,$(BUILD_TYPE)),)
37 $(eval $(call gb_Module_add_subsequentcheck_targets,smoketest,\
38 CppunitTest_smoketest \
40 endif
41 endif
43 endif
45 ifneq ($(ENABLE_JAVA),)
46 $(eval $(call gb_Module_add_targets,smoketest,\
47 Jar_smoketest \
49 endif
51 # vim: set noet sw=4 ts=4: