summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2019-02-19 16:43:04 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-28 17:20:00 +0100
commitf830d891215fee6424ccfadd4f28d119e91acf19 (patch)
treec26e51c662753d0d23e8fcc789a5b2fde62b0347 /support
parente7e6b2478d40562121786c51b747a4c2cfd56056 (diff)
support/testing: add lua-curl test
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'support')
-rw-r--r--support/testing/tests/package/test_lua_curl.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/support/testing/tests/package/test_lua_curl.py b/support/testing/tests/package/test_lua_curl.py
new file mode 100644
index 0000000000..5ee79313f2
--- /dev/null
+++ b/support/testing/tests/package/test_lua_curl.py
@@ -0,0 +1,25 @@
+from tests.package.test_lua import TestLuaBase
+
+
+class TestLuaLuacURL(TestLuaBase):
+ config = TestLuaBase.config + \
+ """
+ BR2_PACKAGE_LUA=y
+ BR2_PACKAGE_LUA_CURL=y
+ """
+
+ def test_run(self):
+ self.login()
+ self.module_test("cURL")
+
+
+class TestLuajitLuacURL(TestLuaBase):
+ config = TestLuaBase.config + \
+ """
+ BR2_PACKAGE_LUAJIT=y
+ BR2_PACKAGE_LUA_CURL=y
+ """
+
+ def test_run(self):
+ self.login()
+ self.module_test("cURL")