diff options
author | Simon McVittie <smcv@debian.org> | 2022-01-02 13:21:17 +0000 |
---|---|---|
committer | Jeremy Bicha <jbicha@debian.org> | 2022-01-31 03:13:50 +0000 |
commit | 991a9dcab540d5fa7ef8a4c82547c6eb9469b853 (patch) | |
tree | d5b43925492a36d5a35f7f9fd030bc6627666e62 | |
parent | 3094fcfd9e2b3e8eb5c4b25294c136a39c06d794 (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); |