[gnome-desktop/gnome-3-34] tests: Don't run at build-time
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop/gnome-3-34] tests: Don't run at build-time
- Date: Mon, 22 Jun 2020 16:27:34 +0000 (UTC)
commit 4127c42a757efc4682ed04b326457cd4fd0655cc
Author: Simon McVittie <smcv debian org>
Date: Mon Jun 22 15:42:29 2020 +0000
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>
(cherry picked from commit 985e49662d527daf5417bfbb8be475bc8d64d64a)
tests/meson.build | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index df5634b8..64016185 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]