From: Francois Perrad Date: Sun, 29 Sep 2019 12:55:18 +0000 (+0200) Subject: support/testing: add lua-gd test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=308ef3166be954395f8489bc42f9b376ddbfd8fc;p=buildroot.git support/testing: add lua-gd test Signed-off-by: Francois Perrad Reviewed-by: Ricardo Martincoski Tested-by: Ricardo Martincoski Signed-off-by: Thomas Petazzoni --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 151b43a3dc..3c2525d339 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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_curl.TestLuaLuacURL: { 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.TestLuajitHttp: { extends: .runtime_test } tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_lua_gd.py b/support/testing/tests/package/test_lua_gd.py new file mode 100644 index 0000000000..f79f2086a1 --- /dev/null +++ b/support/testing/tests/package/test_lua_gd.py @@ -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")