Age | Commit message (Collapse) | Author | Files | Lines |
|
Makes it less awkward for tools to parse the data.
Was modified to return a list, with two elements for each dependency,
instead of a dictionary in ac1c929f66bde7209f1bd7e2d995dbd3949e1d8b .
Closes #2018.
|
|
|
|
|
|
This breaks the API, but the original API was just broken.
|
|
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
|
|
Without this, we can output a mixture of '/' and '\' on platforms where
os.path.sep is '\' and prefix or outdir uses '/'. Let's always return
the path in the format of the platform we're running on.
This is needed to make the test_install_introspection() unittest work
properly on Windows.
|
|
This is needed to be able to introspect the value of xxxdir options such
as libdir and prefix.
|
|
The prefix has been recently added to the install data
|
|
Also fix running with backends other than Ninja by not assuming that
install.dat is always available.
|
|
E225: missing whitespace around operator
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|
|
|
|
|
|
|
Otherwise trying to introspect tests might lead to:
Traceback (most recent call last):
File "/home/thiblahute/devel/gstreamer/gst-build/meson/mesonintrospect.py", line 20, in <module>
sys.exit(mintro.run(sys.argv[1:]))
File "/home/thiblahute/devel/gstreamer/gst-build/meson/mesonbuild/mintro.py", line 213, in run
list_tests(testdata)
File "/home/thiblahute/devel/gstreamer/gst-build/meson/mesonbuild/mintro.py", line 178, in list_tests
print(json.dumps(result))
File "/usr/lib/python3.5/json/__init__.py", line 230, in dumps
return _default_encoder.encode(obj)
File "/usr/lib/python3.5/json/encoder.py", line 198, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python3.5/json/encoder.py", line 256, in iterencode
return _iterencode(o, 0)
File "/usr/lib/python3.5/json/encoder.py", line 179, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <mesonbuild.build.EnvironmentVariables object at 0x7f83e8fa8c18> is not JSON serializable
|
|
|
|
that are.
|
|
There are a few cases where a context manager cannot be used, such as
the logger.
|
|
|
|
|
|
|
|
|
|
|
|
in the same toplevel dir.
|