office-gobmx/sc/CppunitTest_sc_jumbosheets_test.mk
Xisco Fauli 129fde28f6 tdf#147458: sc_jumbosheets: Add unittest
For some reason, the test fails on windows with

Test name: ScJumboSheetsTest::testTdf134553
equality assertion failed
- Expected: 1058
- Actual  : -7421

However, the issue is not reproducible manually.
If the test is executed with
aDefaultsOption.SetInitJumboSheets(true);
then it doesn't fail

Change-Id: I5314c326d3937eaf5e96e4d25d71a7f1347c11af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130365
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-02-23 21:28:58 +01:00

65 lines
1.7 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,sc_jumbosheets_test))
$(eval $(call gb_CppunitTest_use_externals,sc_jumbosheets_test, \
boost_headers \
mdds_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_jumbosheets_test))
$(eval $(call gb_CppunitTest_add_exception_objects,sc_jumbosheets_test, \
sc/qa/unit/jumbosheets-test \
))
$(eval $(call gb_CppunitTest_use_libraries,sc_jumbosheets_test, \
basegfx \
comphelper \
cppu \
cppuhelper \
sal \
salhelper \
sax \
sc \
scqahelper \
sfx \
svxcore \
test \
tl \
unotest \
vcl \
))
$(eval $(call gb_CppunitTest_set_include,sc_jumbosheets_test,\
-I$(SRCDIR)/sc/source/ui/inc \
-I$(SRCDIR)/sc/inc \
-I$(SRCDIR)/sc/source/filter/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_api,sc_jumbosheets_test,\
udkapi \
offapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_jumbosheets_test))
$(eval $(call gb_CppunitTest_use_vcl,sc_jumbosheets_test))
$(eval $(call gb_CppunitTest_use_rdb,sc_jumbosheets_test,services))
$(eval $(call gb_CppunitTest_use_configuration,sc_jumbosheets_test))
$(eval $(call gb_CppunitTest_add_arguments,sc_jumbosheets_test, \
-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: