[gnome-desktop/mcatanzaro/textdomaindir] Tests should not depend on installed translations
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop/mcatanzaro/textdomaindir] Tests should not depend on installed translations
- Date: Thu, 4 Jun 2020 18:41:42 +0000 (UTC)
commit d96ff3bf58b79e7d7b2e94f6f967d309d9c154b8
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Jun 4 13:39:20 2020 -0500
Tests should not depend on installed translations
The Hebrew wallclock reftest breaks whenever Yosef updates the Hebrew
clock format. But the the test actually depends on the *installed*
translation, which means it's not possible to release a new version of
gnome-desktop unless you have the new version already installed. jhbuild
makes this easy, but if you're not using jhbuild this can be quite
frustrating. The tests are not intended to depend on the installed
system.
tests/meson.build | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/tests/meson.build b/tests/meson.build
index 9076d476..01b7ba82 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -8,6 +8,7 @@ test_args = [
test_env = [
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
+ 'TEXTDOMAINDIR=@0@'.format(meson.build_root() / 'po'),
'G_ENABLE_DIAGNOSTICS=0'
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]