Unittests for pythonmaker

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>
This commit is contained in:
Manish Bera
2026-01-02 17:59:12 +01:00
committed by Hossein
parent db91a60d77
commit 02f3d7e950
132 changed files with 2221 additions and 0 deletions
+4
View File
@@ -23,4 +23,8 @@ $(eval $(call gb_Module_add_targets,codemaker,\
))
endif
$(eval $(call gb_Module_add_check_targets,codemaker,\
PythonTest_codemaker_python \
))
# vim:set noet sw=4 ts=4: