office-gobmx/sw/CppunitTest_sw_odffeatures.mk
Thorsten Behrens 23118ce68a [COVER] add first set of ODF feature test files
For providing coverage data of features in the LibreOffice code base,
here's a set of files with orthogonal, high-level ODF features like
bold & italic text, an image, a table in several variants etc.

Use `make coverage` or `make sw.coverage` to generate coverage data
for the entire code base, or subsets thereof.

Change-Id: If27f720e8728788c421e16a3abbc1cf39521a2fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139765
Tested-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-09-11 21:32:07 +02:00

60 lines
1.6 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#*************************************************************************
$(eval $(call gb_CppunitTest_CppunitTest,sw_odffeatures))
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_odffeatures))
$(eval $(call gb_CppunitTest_add_exception_objects,sw_odffeatures, \
sw/qa/extras/odfimport/odffeatures \
))
$(eval $(call gb_CppunitTest_use_libraries,sw_odffeatures, \
comphelper \
cppu \
cppuhelper \
sal \
sw \
swqahelper \
test \
unotest \
vcl \
utl \
))
$(eval $(call gb_CppunitTest_use_externals,sw_odffeatures,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_set_include,sw_odffeatures,\
-I$(SRCDIR)/sw/inc \
-I$(SRCDIR)/sw/qa/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_api,sw_odffeatures,\
udkapi \
offapi \
))
$(eval $(call gb_CppunitTest_use_ure,sw_odffeatures))
$(eval $(call gb_CppunitTest_use_vcl,sw_odffeatures))
$(eval $(call gb_CppunitTest_use_rdb,sw_odffeatures,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_odffeatures))
$(eval $(call gb_CppunitTest_add_arguments,sw_odffeatures, \
-env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
))
# vim: set noet sw=4 ts=4: