aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2019-09-29 14:55:17 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-10-26 16:30:58 +0200
commiteaa2c3a6f76760b8ed823b67b73916cfcf79ee48 (patch)
tree44909da8a498dc56e68edba782ebac711cc03e20
parent5e693c622cfa9ce9844c2289d3579aee29547965 (diff)
downloadbuildroot-eaa2c3a6f76760b8ed823b67b73916cfcf79ee48.tar.gz
buildroot-eaa2c3a6f76760b8ed823b67b73916cfcf79ee48.tar.bz2
support/testing: add lzlib 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>
-rw-r--r--.gitlab-ci.yml1
-rw-r--r--support/testing/tests/package/test_lzlib.py14
2 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3f584dfb0b..151b43a3dc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -404,6 +404,7 @@ tests.package.test_luasocket.TestLuaLuaSocket: { extends: .runtime_test }
tests.package.test_luasocket.TestLuajitLuaSocket: { extends: .runtime_test }
tests.package.test_luasyslog.TestLuaLuasyslog: { extends: .runtime_test }
tests.package.test_luasyslog.TestLuajitLuasyslog: { extends: .runtime_test }
+tests.package.test_lzlib.TestLuaLzlib: { extends: .runtime_test }
tests.package.test_openjdk.TestOpenJdk: { extends: .runtime_test }
tests.package.test_perl.TestPerl: { extends: .runtime_test }
tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test }
diff --git a/support/testing/tests/package/test_lzlib.py b/support/testing/tests/package/test_lzlib.py
new file mode 100644
index 0000000000..84e767913f
--- /dev/null
+++ b/support/testing/tests/package/test_lzlib.py
@@ -0,0 +1,14 @@
+from tests.package.test_lua import TestLuaBase
+
+
+class TestLuaLzlib(TestLuaBase):
+ config = TestLuaBase.config + \
+ """
+ BR2_PACKAGE_LUA=y
+ BR2_PACKAGE_LZLIB=y
+ """
+
+ def test_run(self):
+ self.login()
+ self.module_test("zlib")
+ self.module_test("gzip")