mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
support/testing: add lua-gd test
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
eaa2c3a6f7
commit
308ef3166b
@ -386,6 +386,8 @@ tests.package.test_lua_cqueues.TestLuaLuaCqueues: { extends: .runtime_test }
|
|||||||
tests.package.test_lua_cqueues.TestLuajitLuaCqueues: { extends: .runtime_test }
|
tests.package.test_lua_cqueues.TestLuajitLuaCqueues: { extends: .runtime_test }
|
||||||
tests.package.test_lua_curl.TestLuaLuacURL: { extends: .runtime_test }
|
tests.package.test_lua_curl.TestLuaLuacURL: { extends: .runtime_test }
|
||||||
tests.package.test_lua_curl.TestLuajitLuacURL: { extends: .runtime_test }
|
tests.package.test_lua_curl.TestLuajitLuacURL: { extends: .runtime_test }
|
||||||
|
tests.package.test_lua_gd.TestLuaLuaGD: { extends: .runtime_test }
|
||||||
|
tests.package.test_lua_gd.TestLuajitLuaGD: { extends: .runtime_test }
|
||||||
tests.package.test_lua_http.TestLuaHttp: { extends: .runtime_test }
|
tests.package.test_lua_http.TestLuaHttp: { extends: .runtime_test }
|
||||||
tests.package.test_lua_http.TestLuajitHttp: { extends: .runtime_test }
|
tests.package.test_lua_http.TestLuajitHttp: { extends: .runtime_test }
|
||||||
tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test }
|
tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test }
|
||||||
|
31
support/testing/tests/package/test_lua_gd.py
Normal file
31
support/testing/tests/package/test_lua_gd.py
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
from tests.package.test_lua import TestLuaBase
|
||||||
|
|
||||||
|
|
||||||
|
class TestLuaLuaGD(TestLuaBase):
|
||||||
|
config = TestLuaBase.config + \
|
||||||
|
"""
|
||||||
|
BR2_PACKAGE_LUA=y
|
||||||
|
BR2_PACKAGE_LUA_GD=y
|
||||||
|
BR2_PACKAGE_FONTCONFIG=y
|
||||||
|
BR2_PACKAGE_JPEG=y
|
||||||
|
BR2_PACKAGE_LIBPNG=y
|
||||||
|
"""
|
||||||
|
|
||||||
|
def test_run(self):
|
||||||
|
self.login()
|
||||||
|
self.module_test("gd")
|
||||||
|
|
||||||
|
|
||||||
|
class TestLuajitLuaGD(TestLuaBase):
|
||||||
|
config = TestLuaBase.config + \
|
||||||
|
"""
|
||||||
|
BR2_PACKAGE_LUAJIT=y
|
||||||
|
BR2_PACKAGE_LUA_GD=y
|
||||||
|
BR2_PACKAGE_FONTCONFIG=y
|
||||||
|
BR2_PACKAGE_JPEG=y
|
||||||
|
BR2_PACKAGE_LIBPNG=y
|
||||||
|
"""
|
||||||
|
|
||||||
|
def test_run(self):
|
||||||
|
self.login()
|
||||||
|
self.module_test("gd")
|
Loading…
x
Reference in New Issue
Block a user