Skip to content

Commit c0b2fd8

Browse files
committed
[test] Add test for libxslt
1 parent 33cee11 commit c0b2fd8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/recipes/test_libxslt.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import unittest
2+
from tests.recipes.recipe_lib_test import BaseTestForMakeRecipe
3+
4+
5+
class TestLibxsltRecipe(BaseTestForMakeRecipe, unittest.TestCase):
6+
"""
7+
An unittest for recipe :mod:`~pythonforandroid.recipes.libxslt`
8+
"""
9+
recipe_name = "libxslt"
10+
sh_command_calls = ["./autogen.sh", "autoreconf", "./configure"]
11+
extra_env_flags = {
12+
"CONFIG_SHELL": "/bin/bash",
13+
"SHELL": "/bin/bash",
14+
"LIBS": "-lxml2 -lz -lm",
15+
}

0 commit comments

Comments
 (0)