mirror of
https://github.com/LibreOffice/core.git
synced 2026-01-17 13:21:34 +00:00
This patch adds the unit and integration test suite for the pythonmaker tool. The test is orchestrated by a Python script and uses a "golden file" comparison method. It runs `pythonmaker` on a comprehensive test IDL and verifies that the generated `.pyi` output exactly matches a set of pre-validated reference stubs. The test is integrated into the build system and runs with 'make check'. Change-Id: If91814767779812740c543476307600f61c8a656 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188456 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
31 lines
913 B
Makefile
31 lines
913 B
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_Module_Module,codemaker))
|
|
|
|
# if not cross-compiling or we need this for ODK
|
|
ifneq (,$(if $(CROSS_COMPILING),,T)$(filter ODK,$(BUILD_TYPE)))
|
|
$(eval $(call gb_Module_add_targets,codemaker,\
|
|
StaticLibrary_codemaker \
|
|
StaticLibrary_codemaker_cpp \
|
|
StaticLibrary_codemaker_java \
|
|
Executable_javamaker \
|
|
Executable_cppumaker \
|
|
Executable_netmaker \
|
|
Executable_pythonmaker \
|
|
$(if $(ENABLE_RUST_UNO),Executable_rustmaker) \
|
|
))
|
|
endif
|
|
|
|
$(eval $(call gb_Module_add_check_targets,codemaker,\
|
|
PythonTest_codemaker_python \
|
|
))
|
|
|
|
# vim:set noet sw=4 ts=4:
|