[gnome-weather] tests: Fix meson to properly test world_view
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-weather] tests: Fix meson to properly test world_view
- Date: Sun, 27 Jan 2019 03:25:55 +0000 (UTC)
commit 10ddc6773ebbb95d11f5ea6af1dda8a4e99291ee
Author: Christopher Davis <brainblasted disroot org>
Date: Sat Jan 26 22:18:55 2019 -0500
tests: Fix meson to properly test world_view
Meson previously was using `python3` alone instead of executing the test script with python.
Now meson properly runs `python3 tests/world_view.py`.
tests/meson.build | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index c56bafb..7f81dcf 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,2 +1,7 @@
pyexec = find_program('python3')
-test('world_view', pyexec, workdir: meson.source_root())
+test(
+ 'world_view',
+ pyexec,
+ args: [join_paths('tests', 'world_view.py')],
+ workdir: meson.source_root()
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]