[gnome-desktop/wip/smcv/issue159] tests: Don't run at build-time
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop/wip/smcv/issue159] tests: Don't run at build-time
- Date: Mon, 22 Jun 2020 16:00:07 +0000 (UTC)
commit 985e49662d527daf5417bfbb8be475bc8d64d64a
Author: Simon McVittie <smcv debian org>
Date: Mon Jun 22 16:42:29 2020 +0100
tests: Don't run at build-time
These tests require that our locale files have been installed properly,
so they need to be deferred until libgnome-desktop has been installed.
Build-time tests can't rely on that, but installed-tests can.
Fixes: https://gitlab.gnome.org/GNOME/gnome-desktop/-/issues/159
Signed-off-by: Simon McVittie <smcv debian org>
tests/meson.build | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 9076d476..6ad97ebd 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -37,10 +37,9 @@ foreach program: test_programs
)
endif
- test(program,
- exe,
- env: test_env
- )
+ # Don't run these tests at build-time with test(): currently both tests
+ # rely on our locales having been installed, and at build-time that
+ # hasn't happened yet.
endforeach
if get_option('installed_tests')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]