Skip to content

Commit cb961eb

Browse files
committed
Fixed recipes tests
1 parent d2220d5 commit cb961eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/recipes/recipe_ctx.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class RecipeCtx:
2828
"""A recipe_build_order which should take into account the recipe we want
2929
to test as well as the possible dependant recipes"""
3030

31+
TEST_ARCH = 'arm64-v8a'
32+
3133
def setUp(self):
3234
self.ctx = Context()
3335
self.ctx.ndk_api = 21
@@ -37,7 +39,7 @@ def setUp(self):
3739
self.ctx.setup_dirs(os.getcwd())
3840
self.ctx.bootstrap = Bootstrap().get_bootstrap("sdl2", self.ctx)
3941
self.ctx.bootstrap.distribution = Distribution.get_distribution(
40-
self.ctx, name="sdl2", recipes=self.recipes
42+
self.ctx, name="sdl2", recipes=self.recipes, arch_name=self.TEST_ARCH,
4143
)
4244
self.ctx.recipe_build_order = self.recipe_build_order
4345
self.ctx.python_recipe = Recipe.get_recipe("python3", self.ctx)

0 commit comments

Comments
 (0)