diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2016-02-15 15:10:03 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-02-15 16:56:43 +0000 |
commit | d83fb2b2dea1296885fdefda6804c1dea961d48a (patch) | |
tree | 9ec93436af448ccf3e043877754c7f6f084ec71a /vcl/CppunitTest_vcl_blocklistparser_test.mk | |
parent | c0d4f3ad3307c7a0d0fddd8c413ef0cc91d382ae (diff) |
Unit test for opengl blocklist parsing and evaluating
Parsing unit test checks that the xml values are parsed correctly
and that the DriverInfo structure is populated with the expected
values.
Evaluate unit test checks that blacklisting / whitelisting
logic blocks OS/vendor/driver/device as expected.
Change-Id: Ib1b0926606f0835207c324193bbe19ba83f86bdc
Reviewed-on: https://gerrit.libreoffice.org/22371
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/CppunitTest_vcl_blocklistparser_test.mk')
-rw-r--r-- | vcl/CppunitTest_vcl_blocklistparser_test.mk | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/vcl/CppunitTest_vcl_blocklistparser_test.mk b/vcl/CppunitTest_vcl_blocklistparser_test.mk new file mode 100644 index 000000000000..95b75076b32b --- /dev/null +++ b/vcl/CppunitTest_vcl_blocklistparser_test.mk @@ -0,0 +1,49 @@ +# -*- 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,vcl_blocklistparser_test)) + +$(eval $(call gb_CppunitTest_set_include,vcl_blocklistparser_test,\ + $$(INCLUDE) \ + -I$(SRCDIR)/vcl/inc \ +)) + +$(eval $(call gb_CppunitTest_add_exception_objects,vcl_blocklistparser_test, \ + vcl/qa/cppunit/blocklistparsertest \ +)) + +$(eval $(call gb_CppunitTest_use_externals,vcl_blocklistparser_test,\ + boost_headers \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,vcl_blocklistparser_test, \ + sal \ + test \ + unotest \ + vcl \ + $(gb_UWINAPI) \ +)) + +$(eval $(call gb_CppunitTest_use_api,vcl_blocklistparser_test,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_CppunitTest_use_ure,vcl_blocklistparser_test)) +$(eval $(call gb_CppunitTest_use_vcl,vcl_blocklistparser_test)) + +$(eval $(call gb_CppunitTest_use_components,vcl_blocklistparser_test,\ + configmgr/source/configmgr \ + i18npool/util/i18npool \ + ucb/source/core/ucb1 \ +)) + +$(eval $(call gb_CppunitTest_use_configuration,vcl_blocklistparser_test)) + +# vim: set noet sw=4 ts=4: |