From patchwork Tue Feb 19 15:43:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044746 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="FE6WGYuL"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443lQl3bncz9s7h for ; Wed, 20 Feb 2019 02:44:15 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D738E8115D; Tue, 19 Feb 2019 15:44:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WCDaKUTieXpJ; Tue, 19 Feb 2019 15:44:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id EA97C863F4; Tue, 19 Feb 2019 15:44:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CB3AD1BF2EA for ; Tue, 19 Feb 2019 15:43:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B218C863CC for ; Tue, 19 Feb 2019 15:43:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9WaGtsZlFZ3A for ; Tue, 19 Feb 2019 15:43:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2D1298637A for ; Tue, 19 Feb 2019 15:43:58 +0000 (UTC) Received: by mail-wm1-f46.google.com with SMTP id v26so3293328wmh.3 for ; Tue, 19 Feb 2019 07:43:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dR4V+yItR64LPBb/HMVtcPctkaXPh7GwjYagJawbVtI=; b=FE6WGYuLAlt7Bj/BP3DsYWBAiUXc+oPuHfIyZA7n1VxEw7t8rbtrfgb9P0d2Zuzw79 sEUzamaN8CoyQ6KqLXN8l2fC9OwsaT3xaCayqRt2sCNuKOv9TvjjFb+CQvOy7NyFM0SJ DuzjyYXviDIJZZ2OAGT6BGnAhDjB3cBMD8oYD6lnoQxnA69J9aHmueH2xlNXroB5tDj2 HxCk4z7KyrZrU5jyg8rIr/h0ah2TUrtoxtWXVtj3eDFTD/gZ7QFwUCT6DDZCuS/rYjzB G07fyZ4yhu1/g9gzqwfJqTAJj9pIqpaF3fd7uN88HGNdwIPPxjLHPdwq5JbTnmCUdEEA /nMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dR4V+yItR64LPBb/HMVtcPctkaXPh7GwjYagJawbVtI=; b=VwTlUS4J207GcO/lgS08Y0UaXZm8+JIGnBH+PuVzbi/7SN+m6uQoRVXrCdVi0qbhbR CYQPre+qgEg9cbsee+Bg0bBOvwAh2lGOWjoqO78aBwajDkXjgRM+974EAUd9KkaIExMA IXgnBx4TrsM9sqMqv+BiqHej46hFRkFVRX5YFSKk3ba/bff3aHSkzdRhTg1+7qdqluXs n8hM1Ac3gsBIYzYjwPKdRHLdVwVgrU0aupWAbrqpPUY2ZLz2P58+A7JeqCpS4K7rE0r6 yMJci1b28j8zIJf8Ik5ivr8fhBEgCKwmRmxfwWUE/R1bnmwZ9/5NguFjDFLHUB1ydtlN BFHA== X-Gm-Message-State: AHQUAuYIrKcSUt5tZ/rsjOcL3e5t4Mwto5BLdvPx1+YEhmHlIvQnkgjX ZLxu1jUrjs7WbftG0y9nd+5YxxHL X-Google-Smtp-Source: AHgI3IaYRCN6PN1dzcoDAyDo7pxAfAlEijceVFwmZlhZIQudPDzdGC/gZpS1kApEySq0LSp0RfEncw== X-Received: by 2002:a7b:c777:: with SMTP id x23mr3436335wmk.71.1550591036506; Tue, 19 Feb 2019 07:43:56 -0800 (PST) Received: from vb-18.04 (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id t14sm13279655wrr.49.2019.02.19.07.43.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:56 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:11 +0100 Message-Id: <20190219154311.22173-11-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190219154311.22173-1-francois.perrad@gadz.org> References: <20190219154311.22173-1-francois.perrad@gadz.org> Subject: [Buildroot] [next/testing Lua modules 11/11] support/testing: add rings test X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad --- .gitlab-ci.yml | 2 ++ support/testing/tests/package/test_rings.py | 25 +++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_rings.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65f9d5a1f..86067757c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -403,6 +403,8 @@ tests.package.test_python_txtorcon.TestPythonPy2Txtorcon: { extends: .runtime_te tests.package.test_python_txtorcon.TestPythonPy3Txtorcon: { extends: .runtime_test } tests.package.test_python_ubjson.TestPythonPy2Ubjson: { extends: .runtime_test } tests.package.test_python_ubjson.TestPythonPy3Ubjson: { extends: .runtime_test } +tests.package.test_rings.TestLuaRings: { extends: .runtime_test } +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 } diff --git a/support/testing/tests/package/test_rings.py b/support/testing/tests/package/test_rings.py new file mode 100644 index 000000000..be9765f18 --- /dev/null +++ b/support/testing/tests/package/test_rings.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaRings(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_RINGS=y + """ + + def test_run(self): + self.login() + self.module_test("rings") + + +class TestLuajitRings(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_RINGS=y + """ + + def test_run(self): + self.login() + self.module_test("rings")