mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-16 06:02:13 -04:00
testcommon: An i386 Flatpak doesn't support x86_64 apps
The compatible architectures are not symmetric: x86_64 and aarch64 can run i386 and arm binaries, but i386 and arm cannot usually run x86_64 and aarch64 binaries. This caused test failures on Debian i386 autobuilders. Signed-off-by: Simon McVittie <smcv@collabora.com> Closes: #2603 Approved by: matthiasclasen
This commit is contained in:
committed by
Atomic Bot
parent
f28e8af968
commit
7c3140bb7a
@@ -48,7 +48,7 @@ test_arches (void)
|
||||
|
||||
#if defined(__i386__)
|
||||
g_assert_cmpstr (flatpak_get_arch (), ==, "i386");
|
||||
g_assert_true (g_strv_contains (arches, "x86_64"));
|
||||
g_assert_false (g_strv_contains (arches, "x86_64"));
|
||||
g_assert_true (g_strv_contains (arches, "i386"));
|
||||
#elif defined(__x86_64__)
|
||||
g_assert_cmpstr (flatpak_get_arch (), ==, "x86_64");
|
||||
|
||||
Reference in New Issue
Block a user