skip tests that won't run on a given CPU architecture

This commit is contained in:
Hans-Christoph Steiner 2025-03-19 11:15:26 +01:00
parent 025828932d
commit 0b3fe26524
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
9 changed files with 34 additions and 0 deletions

View file

@ -2,6 +2,7 @@
import os
import shutil
import sys
import tempfile
import textwrap
import unittest
@ -48,6 +49,7 @@ class BuildTest(unittest.TestCase):
os.makedirs(os.path.join(d, 'platform-tools'), exist_ok=True)
os.makedirs(os.path.join(d, 'tools'), exist_ok=True)
@unittest.skipIf(sys.byteorder == 'big', "androguard is not ported to big-endian")
def test_get_apk_metadata(self):
config = dict()
fdroidserver.common.fill_config_defaults(config)