diff options
author | Simon McVittie <smcv@debian.org> | 2022-01-02 13:21:17 +0000 |
---|---|---|
committer | Jeremy Bicha <jbicha@ubuntu.com> | 2022-04-01 19:08:05 +0100 |
commit | cef6e38954784a6c1fed2049a98f68c36d8fb4e5 (patch) | |
tree | ed548c858b72bc7078939399613bc97e11dfadd5 | |
parent | f43adc34a644b784abd2c2490cb421efeb83bec8 (diff) |
tests: Skip a test that fails with a small variation on i386
Forwarded: no
Gbp-Pq: Topic debian
Gbp-Pq: Name tests-Skip-a-test-that-fails-with-a-small-variation-on-i3.patch
-rw-r--r-- | tests/test-layout.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test-layout.c b/tests/test-layout.c index 1139e4fd..50bb6934 100644 --- a/tests/test-layout.c +++ b/tests/test-layout.c @@ -64,6 +64,15 @@ test_layout (gconstpointer d) return; } +#ifdef __i386__ + if (strstr (filename, "aaa.layout") != NULL && g_getenv ("DEB_ALLOW_FLAKY_TESTS") == NULL) + { + g_test_incomplete ("layout calculated slightly differently on i386"); + g_free (old_locale); + return; + } +#endif + g_file_get_contents (filename, &contents, &length, &error); g_assert_no_error (error); orig = g_bytes_new_take (contents, length); |