Kaydet (Commit) 08655031 authored tarafından Justin Luth's avatar Justin Luth

move round-tripables to ooxmlexport

This serves two purposes. It helps to prevent regressions
and it allows focus on features that still don't export properly.

The standard .mk file had trouble on the Mac, so I ended up copying
ooxmlimport.mk instead of trying to tweak the export template.

The huge section of tests excluded from Win32 testing is still
excluded here.

The ole-anchor test works as export in the import code, but didn't
work from the ooxmlexport directory, so left that one as import only.

Change-Id: I9d72202c577940ba94855096c5a11d4dec4790a5
Reviewed-on: https://gerrit.libreoffice.org/29588Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJustin Luth <justin_luth@sil.org>
üst 91d406f5
# -*- 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_ooxmlexport8))
$(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlexport8, \
sw/qa/extras/ooxmlexport/ooxmlexport8 \
))
$(eval $(call gb_CppunitTest_use_libraries,sw_ooxmlexport8, \
basegfx \
comphelper \
cppu \
cppuhelper \
sal \
test \
unotest \
utl \
sw \
tl \
vcl \
svxcore \
$(gb_UWINAPI) \
))
$(eval $(call gb_CppunitTest_use_externals,sw_ooxmlexport8,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_set_include,sw_ooxmlexport8,\
-I$(SRCDIR)/sw/inc \
-I$(SRCDIR)/sw/source/core/inc \
-I$(SRCDIR)/sw/qa/extras/inc \
$$(INCLUDE) \
))
ifeq ($(OS),MACOSX)
$(eval $(call gb_CppunitTest_add_cxxflags,sw_ooxmlexport8,\
$(gb_OBJCXXFLAGS) \
))
$(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sw_ooxmlexport8,\
AppKit \
))
endif
$(eval $(call gb_CppunitTest_use_sdk_api,sw_ooxmlexport8))
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlexport8))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlexport8))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlexport8,\
basic/util/sb \
chart2/source/controller/chartcontroller \
chart2/source/chartcore \
canvas/source/factory/canvasfactory \
comphelper/util/comphelp \
configmgr/source/configmgr \
drawinglayer/drawinglayer \
embeddedobj/util/embobj \
filter/source/config/cache/filterconfig1 \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
linguistic/source/lng \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sw/util/sw \
sw/util/swd \
sw/util/msword \
sfx2/util/sfx \
starmath/util/sm \
svl/source/fsstor/fsstorage \
svl/util/svl \
svtools/util/svt \
svx/util/svx \
svx/util/svxcore \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
unoxml/source/service/unoxml \
unoxml/source/rdf/unordf \
uui/util/uui \
writerfilter/util/writerfilter \
xmloff/util/xo \
))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlexport8))
# vim: set noet sw=4 ts=4:
# -*- 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/.
#
#*************************************************************************
include $(SRCDIR)/sw/ooxmlexport_setup.mk
$(eval $(call sw_ooxmlexport_test,9))
# vim: set noet sw=4 ts=4:
......@@ -59,6 +59,8 @@ $(eval $(call gb_Module_add_slowcheck_targets,sw,\
CppunitTest_sw_ooxmlexport5 \
CppunitTest_sw_ooxmlexport6 \
CppunitTest_sw_ooxmlexport7 \
CppunitTest_sw_ooxmlexport8 \
CppunitTest_sw_ooxmlexport9 \
CppunitTest_sw_ooxmlfieldexport \
CppunitTest_sw_ooxmlw14export \
CppunitTest_sw_ooxmlimport \
......
......@@ -20,6 +20,7 @@ define sw_ooxmlexport_libraries
unotest \
utl \
vcl \
svxcore \
$(gb_UWINAPI)
endef
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment