support/testing: add turbolua test
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Wed, 2 Oct 2019 11:35:12 +0000 (13:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 2 Oct 2019 18:57:08 +0000 (20:57 +0200)
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
.gitlab-ci.yml
support/testing/tests/package/test_turbolua.py [new file with mode: 0644]

index 2b18a13d697d00cf09b707e412537d3104403bd9..7d217523658ebebefa0b1a3cb686ec3235aba98f 100644 (file)
@@ -466,6 +466,7 @@ tests.package.test_rings.TestLuajitRings: { extends: .runtime_test }
 tests.package.test_rust.TestRust: { extends: .runtime_test }
 tests.package.test_rust.TestRustBin: { extends: .runtime_test }
 tests.package.test_syslog_ng.TestSyslogNg: { extends: .runtime_test }
+tests.package.test_turbolua.TestLuajitTurbolua: { extends: .runtime_test }
 tests.toolchain.test_external.TestExternalToolchainBuildrootMusl: { extends: .runtime_test }
 tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc: { extends: .runtime_test }
 tests.toolchain.test_external.TestExternalToolchainCCache: { extends: .runtime_test }
diff --git a/support/testing/tests/package/test_turbolua.py b/support/testing/tests/package/test_turbolua.py
new file mode 100644 (file)
index 0000000..b8253c1
--- /dev/null
@@ -0,0 +1,13 @@
+from tests.package.test_lua import TestLuaBase
+
+
+class TestLuajitTurbolua(TestLuaBase):
+    config = TestLuaBase.config + \
+        """
+        BR2_PACKAGE_LUAJIT=y
+        BR2_PACKAGE_TURBOLUA=y
+        """
+
+    def test_run(self):
+        self.login()
+        self.module_test("turbo")