aboutsummaryrefslogtreecommitdiff
path: root/support/testing/tests/package/test_lua_lyaml.py
blob: ece3c675a245f953144d080b8a509bd58feba7b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from tests.package.test_lua import TestLuaBase


class TestLuaLuaLyaml(TestLuaBase):
    config = TestLuaBase.config + \
        """
        BR2_PACKAGE_LUA=y
        BR2_PACKAGE_LUA_LYAML=y
        """

    def test_run(self):
        self.login()
        self.module_test("yaml")
        self.module_test("lyaml")


class TestLuajitLuaLyaml(TestLuaBase):
    config = TestLuaBase.config + \
        """
        BR2_PACKAGE_LUAJIT=y
        BR2_PACKAGE_LUA_LYAML=y
        """

    def test_run(self):
        self.login()
        self.module_test("yaml")
        self.module_test("lyaml")