Skip to contentSkip to conversation

support/testing: add turbolua test

PATCH New Marcin Niestroj 2 participants 3 messages Oct 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 support/testing: add turbolua test

---
 .gitlab-ci.yml                                 |  1 +
 support/testing/tests/package/test_turbolua.py | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 support/testing/tests/package/test_turbolua.py
.gitlab-ci.yml +1 -0
index 2b18a13d69..7d21752365 100644
@@ -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 }
support/testing/tests/package/test_turbolua.py new file +13 -0
new file mode 100644
index 0000000000..b8253c1bf4
@@ -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")
Signature · 1 line
2.23.0
#1 lore raw

PATCH 2/2 package/turbolua: bump version to 2.1.3

---
 package/turbolua/turbolua.hash | 2 +-
 package/turbolua/turbolua.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/turbolua/turbolua.hash +1 -1
index 164bb6139b..03744d83b4 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 a2c30534706fb475545b17a017c63479e93e5e9bf1f5ed88c0db22bb4ea7b4b1 turbolua-2.1.2.tar.gz
+sha256 4dbfbe4919118977c2ca40a4da81054ffe407d09f38bf5420eec5ae1449299d3 turbolua-2.1.3.tar.gz
package/turbolua/turbolua.mk +1 -1
index 58d66c5070..a85256a3e1 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TURBOLUA_VERSION = 2.1.2
+TURBOLUA_VERSION = 2.1.3
 TURBOLUA_SITE = $(call github,kernelsauce,turbo,v$(TURBOLUA_VERSION))
 TURBOLUA_DEPENDENCIES = luajit
 TURBOLUA_LICENSE = Apache-2.0
Signature · 1 line
2.23.0
#2 lore raw

PATCH 1/2 support/testing: add turbolua test

In reply to Marcin Niestroj
Quoted 6 lines · On Wed, 2 Oct 2019 13:35:12 +0200 Marcin Niestroj…
---
 .gitlab-ci.yml                                 |  1 +
 support/testing/tests/package/test_turbolua.py | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 support/testing/tests/package/test_turbolua.py

Both applied to master, thanks. Could you send a follow-up patch that adds a hash for the LICENSE file in the turbolua package ?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com