Avoid potential negative array index access to cached text.
[LibreOffice.git] / vcl / CppunitTest_vcl_gtk3_a11y.mk
blob476f803344427ebb2021551fe1e4000e0f83eadf
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 # hack plugging into the CppunitTest machinery yet using a xvfb-wrapper GTK3 run
11 $(call gb_CppunitTest_get_target,vcl_gtk3_a11y) : gb_TEST_ENV_VARS += SAL_USE_VCLPLUGIN=gtk3
12 # force running with the X11 Gdk backend also when running on Wayland
13 $(call gb_CppunitTest_get_target,vcl_gtk3_a11y) : gb_TEST_ENV_VARS += GDK_BACKEND=x11
14 ifeq (,$(VCL_GTK3_TESTS_NO_XVFB))
15 $(call gb_CppunitTest_get_target,vcl_gtk3_a11y) : \
16 ICECREAM_RUN += $(XVFB_RUN) --auto-servernum $(DBUS_LAUNCH) --exit-with-session
17 endif
19 $(eval $(call gb_CppunitTest_CppunitTest,vcl_gtk3_a11y))
21 $(eval $(call gb_CppunitTest_add_exception_objects,vcl_gtk3_a11y, \
22 vcl/qa/cppunit/a11y/atspi2/atspiwrapper \
23 vcl/qa/cppunit/a11y/atspi2/atspi2 \
24 vcl/qa/cppunit/a11y/atspi2/atspi2text \
27 $(eval $(call gb_CppunitTest_set_include,vcl_gtk3_a11y,\
28 $$(INCLUDE) \
29 $$(ATSPI2_CFLAGS) \
32 $(eval $(call gb_CppunitTest_add_libs,vcl_gtk3_a11y,\
33 $$(ATSPI2_LIBS) \
36 $(eval $(call gb_CppunitTest_use_libraries,vcl_gtk3_a11y, \
37 sal \
38 cppu \
39 subsequenttest \
40 test \
41 i18nlangtag \
42 unotest \
43 vcl \
46 $(eval $(call gb_CppunitTest_use_externals,vcl_gtk3_a11y,\
47 boost_headers \
50 $(eval $(call gb_CppunitTest_use_api,vcl_gtk3_a11y,\
51 offapi \
52 udkapi \
55 $(eval $(call gb_CppunitTest_use_sdk_api,vcl_gtk3_a11y))
56 $(eval $(call gb_CppunitTest_use_rdb,vcl_gtk3_a11y,services))
57 $(eval $(call gb_CppunitTest_use_ure,vcl_gtk3_a11y))
58 $(eval $(call gb_CppunitTest_use_vcl,vcl_gtk3_a11y))
60 $(eval $(call gb_CppunitTest_use_instdir_configuration,vcl_gtk3_a11y))
61 $(eval $(call gb_CppunitTest_use_common_configuration,vcl_gtk3_a11y))
63 # vim: set noet sw=4 ts=4: