Fix simply running testsuite in meson
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Tue, 25 Jul 2017 20:18:26 +0000 (16:18 -0400)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 26 Jul 2017 19:27:21 +0000 (15:27 -0400)
commitfcbca025e30b76b74af3ed1d7c16915c1560c0d8
tree039cafa2d90c91f15bcd0112e9534d9c941a8e1b
parentcb0dd804f7e933fb0bc3e7ce5067e83c0b00cf95
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.
gi/overrides/meson.build
meson.build
scripts/pythondetector
testsuite/meson.build
testsuite/overrides_hack.py