Fix simply running testsuite in meson
- Make sure to never have root folder in sys.path when running meson, as pythondetector won't be able to access gi._overridesdir - Generate a mesonconfig.py file that will be used by the testsuite to know where meson generated files, making `python -m unittest` working.
Showing
- gi/overrides/meson.build 1 addition, 1 deletiongi/overrides/meson.build
- meson.build 1 addition, 2 deletionsmeson.build
- scripts/pythondetector 6 additions, 0 deletionsscripts/pythondetector
- testsuite/meson.build 8 additions, 0 deletionstestsuite/meson.build
- testsuite/overrides_hack.py 8 additions, 0 deletionstestsuite/overrides_hack.py
Loading
Please register or sign in to comment