Fix PythonTest_solenv_python for Linux --enable-mergelibs=more
commit0020fc1167b3760d0631001689a44427b72b816e
authorStephan Bergmann <stephan.bergmann@allotropia.de>
Tue, 19 Mar 2024 14:03:37 +0000 (19 15:03 +0100)
committerStephan Bergmann <stephan.bergmann@allotropia.de>
Wed, 20 Mar 2024 07:07:29 +0000 (20 08:07 +0100)
tree2f9782a7fb7b2e143465a9d7a0d8871642b9db3d
parentc07548447a564b2d142cc439a124b76e6a71dfbd
Fix PythonTest_solenv_python for Linux --enable-mergelibs=more

...where it recently started to fail for me with

> ======================================================================
> ERROR: test_gbuildtojson (gbuildtojson.CheckGbuildToJsonModules)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "solenv/qa/python/gbuildtojson.py", line 147, in test_gbuildtojson
>     jsonfiles = os.listdir(os.path.join(self.tempwork, 'GbuildToJson', 'Library'))
> FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gbuildffqxqxbf/GbuildToJson/Library'

presumably because none of the modules iterated over there happen to put any
files into the GbuildToJson/Library directory (and, by doing so, would create
that directory)

Change-Id: I2622f300d6d9c45d28a98fb6bb82aa684d1d5507
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165033
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
solenv/qa/python/gbuildtojson.py