diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-11 18:49:27 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-11 20:44:52 +0200 |
commit | 2dbf8f4ea4992ca33c272786f860d7fc291ba89b (patch) | |
tree | fca28df47c9d2e3afc991c19de68fe80db477e18 /tests/warn | |
parent | 4542321c383304807228f204de600aa64944c87e (diff) | |
download | gobject-introspection-2dbf8f4ea4992ca33c272786f860d7fc291ba89b.tar.gz |
meson: Add a "python" option to make the python to build against configurable
This allows us to build with Python 2 and run tests with it.
This requires the new "python" meson module which was added in 0.46.0 so
bump the required meson version (glib needs a newer one anyway).
Also fixes a small test error under Python 2.
Diffstat (limited to 'tests/warn')
-rw-r--r-- | tests/warn/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/warn/meson.build b/tests/warn/meson.build index 53d00cc7..f14590ca 100644 --- a/tests/warn/meson.build +++ b/tests/warn/meson.build @@ -32,7 +32,7 @@ warn_test_env.set( if host_system != 'windows' foreach warn_fn : warn_tests test( - 'warn-' + warn_fn.split('.')[0], files(python3.path()), + 'warn-' + warn_fn.split('.')[0], python, workdir: meson.current_source_dir(), env: warn_test_env, args: ['warningtester.py', warn_fn], |