Skip to content

Commit 532a1e7

Browse files
committed
Fixed test_archs.py
1 parent 1b5495c commit 532a1e7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_archs.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ class ArchSetUpBaseClass(object):
5050
ctx = None
5151
expected_compiler = ""
5252

53+
TEST_ARCH = 'armeabi-v7a'
54+
5355
def setUp(self):
5456
self.ctx = Context()
5557
self.ctx.ndk_api = 21
@@ -59,7 +61,10 @@ def setUp(self):
5961
self.ctx.setup_dirs(os.getcwd())
6062
self.ctx.bootstrap = Bootstrap().get_bootstrap("sdl2", self.ctx)
6163
self.ctx.bootstrap.distribution = Distribution.get_distribution(
62-
self.ctx, name="sdl2", recipes=["python3", "kivy"]
64+
self.ctx,
65+
name="sdl2",
66+
recipes=["python3", "kivy"],
67+
arch_name=self.TEST_ARCH,
6368
)
6469
self.ctx.python_recipe = Recipe.get_recipe("python3", self.ctx)
6570
# Here we define the expected compiler, which, as per ndk >= r19,

0 commit comments

Comments
 (0)