From patchwork Tue Feb 19 15:43:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044736 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.137; helo=fraxinus.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="Vl61vdhy"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443lQN0yz5z9s7h for ; Wed, 20 Feb 2019 02:43:55 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 85526859AA; Tue, 19 Feb 2019 15:43:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VCgIxfojmqm3; Tue, 19 Feb 2019 15:43:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E9E98858DD; Tue, 19 Feb 2019 15:43:49 +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 3C66E1BF2EA for ; Tue, 19 Feb 2019 15:43:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3775486272 for ; Tue, 19 Feb 2019 15:43:49 +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 J1ZBncWQQjVV for ; Tue, 19 Feb 2019 15:43:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by whitealder.osuosl.org (Postfix) with ESMTPS id 44C8184AFB for ; Tue, 19 Feb 2019 15:43:47 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id w2so7889417wrt.11 for ; Tue, 19 Feb 2019 07:43:47 -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; bh=BwX/lIQsYj1ypmcVwa4VsaT2xridtu8fuhnvsuaNaV8=; b=Vl61vdhyN8k1/ufNFgUTDQC0Fz5uiJrBKDSh4CNk/unzPQpTv0+gNMwGAiPV9a9Dd8 Mz4VO79u2aAFYSqXZ2Z1FWYrx7/8aWreIhKK9Pt8C/P67TjoudguT6dbYqOsVG8qK0th HXdKSKxZc/Y980oioviGxmvS/h1lIHIbOajZNfkwqXNbqkTOLwJAmYoUs8wThSTy1BEL T7ZlAlZpSRPCB/DZN83pA8kvxTp8VDerJqUyJvTbRsFKPxXIQu+cU+mlmbgtlk2VzCN9 FB9HXjDvvpX2nYGP0DLupKgJX6l7b40Y4uFFGYPk2Gbkh7Eiy7r02HlfywIfU3nVFcOw Iw4w== 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; bh=BwX/lIQsYj1ypmcVwa4VsaT2xridtu8fuhnvsuaNaV8=; b=OhwH04egHKG9LlB1FG9Wgd8fNX2vUrM63E5EvMrv2j8AUGHqL53FLqyZHppwaI3v2e YpscQItzLNWhPIrxBz58yqpsLXSY3BaqjOKtZ0624eTEmenBqugG2g9i+kSbWYRxV8Bf /tQo4uLZ4pmdY9GMNJmBjDLd0DvQS+XTfT00oNKUpGlRxlQpxliFT0gpNhigCTPDbIZL nW36RQmDKVLBGwCnXRCOTcvJRKQVfR7gVXouuZxT/A0/t6GtUhUH83vmrmgRYnuq0M/0 wFbpDe/xs4x8U2jd/gK0ErSdXKUysYSXUi6C7YdPP3X/YvBap+BLSmPAhSzNYfIlig25 UiUw== X-Gm-Message-State: AHQUAuabvJm+iYbHvnKNMY0Ld09UEaHrRhifGUSD8R9dBj++G3opT7Yn FP5luaftg2dpdGuaVrVauiK+0hYE X-Google-Smtp-Source: AHgI3Ia0DBALS6Ah40Bm537++/tqlX55wrzldl9HYekIK6fQsQjuXgukj4XYUgzOojNITcGONM4ccQ== X-Received: by 2002:adf:e785:: with SMTP id n5mr10293331wrm.96.1550591025576; Tue, 19 Feb 2019 07:43:45 -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.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:44 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:01 +0100 Message-Id: <20190219154311.22173-1-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [next/testing Lua modules 01/11] luarocks: add generation of 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 --- package/luarocks/buildroot.lua | 60 ++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/package/luarocks/buildroot.lua b/package/luarocks/buildroot.lua index 4be5fbd7c..61e44a867 100644 --- a/package/luarocks/buildroot.lua +++ b/package/luarocks/buildroot.lua @@ -49,6 +49,27 @@ local function wrap (txt, max) return lines end +local function has_c_files (rockspec) + for _, mod in pairs(rockspec.build.modules or {}) do + if type(mod) == 'string' then + if mod:match'%.c$' then + return true + end + elseif type(mod) == 'table' then + local sources = mod.sources + if type(sources) == 'string' and sources:match'%.c$' then + return true + end + for _, src in ipairs(sources or mod) do + if src:match'%.c$' then + return true + end + end + end + end + return false +end + local function get_external_dependencies (rockspec) local t = {} for k in pairs(rockspec.external_dependencies or {}) do @@ -228,6 +249,42 @@ local function generate_hash (rockspec, lcname, rock_file, licenses, digest) f:close() end +local function generate_test (rockspec, lcname) + local ucname = brname(lcname) + local modname = rockspec.package:gsub('%-', '') + local classname = modname:gsub('%.', '') + classname = classname:sub(1, 1):upper() .. classname:sub(2) + local fname = 'support/testing/tests/package/test_' .. ucname:lower() .. '.py' + local f = assert(io.open(fname, 'w')) + util.printout('write ' .. fname) + f:write('from tests.package.test_lua import TestLuaBase\n') + f:write('\n') + f:write('\n') + f:write('class TestLua' .. classname .. '(TestLuaBase):\n') + f:write(' config = TestLuaBase.config + \\\n') + f:write(' """\n') + f:write(' BR2_PACKAGE_LUA=y\n') + f:write(' BR2_PACKAGE_' .. ucname .. '=y\n') + f:write(' """\n') + f:write('\n') + f:write(' def test_run(self):\n') + f:write(' self.login()\n') + f:write(' self.module_test("' .. modname .. '")\n') + f:write('\n') + f:write('\n') + f:write('class TestLuajit' .. classname .. '(TestLuaBase):\n') + f:write(' config = TestLuaBase.config + \\\n') + f:write(' """\n') + f:write(' BR2_PACKAGE_LUAJIT=y\n') + f:write(' BR2_PACKAGE_' .. ucname .. '=y\n') + f:write(' """\n') + f:write('\n') + f:write(' def test_run(self):\n') + f:write(' self.login()\n') + f:write(' self.module_test("' .. modname .. '")\n') + f:close() +end + --- Driver function for the "buildroot" command. -- @param rockname string: the name of a rock to be fetched and unpacked. -- @param brname string: the name used by Buildroot (optional) @@ -319,6 +376,9 @@ function buildroot.command(flags, rockname, fsname) generate_config(rockspec, fsname:lower()) generate_mk(rockspec, fsname:lower(), licenses) generate_hash(rockspec, fsname:lower(), rock_file, licenses, digest) + if has_c_files(rockspec) then + generate_test(rockspec, fsname:lower()) + end return true end From patchwork Tue Feb 19 15:43:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044738 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.137; helo=fraxinus.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="N1R07G+6"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443lQQ5fb0z9s7h for ; Wed, 20 Feb 2019 02:43:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2087B859E3; Tue, 19 Feb 2019 15:43:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UpyPmv6i0uV3; Tue, 19 Feb 2019 15:43:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7A58D8594B; Tue, 19 Feb 2019 15:43:56 +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 6BB731BF2EA for ; Tue, 19 Feb 2019 15:43:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6940C86274 for ; Tue, 19 Feb 2019 15:43:52 +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 KuRmpBZNfLZi for ; Tue, 19 Feb 2019 15:43:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7508986256 for ; Tue, 19 Feb 2019 15:43:48 +0000 (UTC) Received: by mail-wm1-f53.google.com with SMTP id t15so3242779wmi.5 for ; Tue, 19 Feb 2019 07:43:48 -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=dNssBWUBoN5jUC/Jz6JUXbpSk9zTQ2pXLIuR2wjEIJA=; b=N1R07G+6unht1q/xIPq/r+waMH8Pql0YQnseoCq3c0L1pjAPCv/ey4CnpPOI+MpdR7 uGZ5x2yy4+A392qPHMgkEsA7QkczjxycMzDDJ7JO/viQZMtCWyRF7Y9MJABImlJgIRIu pRyoAA9u3EOiHXpDxtacFsYYoI88Mmfn8vyuMlAFfB/OWg/g+2zm8WoXpxSnQ5Y4xlH2 aT38CARFY7aaoYp+KahZJ1jV+3j40XuB58boY4PIdYZxzuJronlOlhtuK/Mg7XMRd3P3 pWSNHv36PjHTHJi7t7omuY7MtCPllgOhOJ1uaUd9G+WCm3Bt09VFGu3GVPmQxKT7KN8K kcjQ== 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=dNssBWUBoN5jUC/Jz6JUXbpSk9zTQ2pXLIuR2wjEIJA=; b=UZn4TYkrpn2h/85C+a7cW+FX53FMIj2zhKCCine/eqVLv58GJvbjHvpMCBZXF7XLM1 XXEhFbLJV4ywzqLi96/lMMLUKgqau2plHhdwQ7cjlkRUOvLMvdlkT6ZrHkELg3Pplt+l O4WrsgQSgUb/ChwWi+nSni0XG22ZmJDM8tbLrs0oXzXtEl01yZ+FfEcQihN0iZeEeYPL nFdPj/q1bu7Ev9tZWB8AfaY5FAobNuPfXCXEuyHTvmYMiooPDQnRZezAzFaRKR4j+0my YZEVzN5x+vZPAYWg4o3seIY9Sn0YCrVKn5tIacO6ekDihq1CBE/v+myY4l66YMQsTBgW RR6A== X-Gm-Message-State: AHQUAuaZGKps6Q7bqYvupZpNCMH8dzCQOCVPtzQH7/1qK4QWZCgFIJC9 MUiJEsca9s4e0rRYSIEGmYbSi6HR X-Google-Smtp-Source: AHgI3Ibu+ftVman9yyezyGBtITczPe8gzfoWUi4kf/6aACmn1CnNA8NG0GGHv76dr+mdFZLzHZRYug== X-Received: by 2002:a7b:c457:: with SMTP id l23mr3289163wmi.2.1550591026814; Tue, 19 Feb 2019 07:43:46 -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.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:46 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:02 +0100 Message-Id: <20190219154311.22173-2-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 02/11] support/testing: add lpeg 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_lpeg.py | 25 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_lpeg.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2f0ebaa25..1730f3906 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -326,6 +326,8 @@ tests.package.test_docker_compose.TestDockerCompose: { extends: .runtime_test } tests.package.test_dropbear.TestDropbear: { extends: .runtime_test } tests.package.test_ipython.TestIPythonPy2: { extends: .runtime_test } tests.package.test_ipython.TestIPythonPy3: { extends: .runtime_test } +tests.package.test_lpeg.TestLuaLPeg: { extends: .runtime_test } +tests.package.test_lpeg.TestLuajitLPeg: { extends: .runtime_test } tests.package.test_lua.TestLua: { extends: .runtime_test } tests.package.test_lua.TestLuajit: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_lpeg.py b/support/testing/tests/package/test_lpeg.py new file mode 100644 index 000000000..e57415735 --- /dev/null +++ b/support/testing/tests/package/test_lpeg.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLPeg(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LPEG=y + """ + + def test_run(self): + self.login() + self.module_test("lpeg", script="print(require[[lpeg]].version())") + + +class TestLuajitLPeg(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LPEG=y + """ + + def test_run(self): + self.login() + self.module_test("lpeg", script="print(require[[lpeg]].version())") From patchwork Tue Feb 19 15:43:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044739 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.136; helo=silver.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="Wrfmonxc"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443lQR2SMPz9sD4 for ; Wed, 20 Feb 2019 02:43:59 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BAAC623265; Tue, 19 Feb 2019 15:43:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W1ieoJu5lxZL; Tue, 19 Feb 2019 15:43:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id C25EA22170; Tue, 19 Feb 2019 15:43:52 +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 2A06A1BF2EA for ; Tue, 19 Feb 2019 15:43:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 275BA86272 for ; Tue, 19 Feb 2019 15:43:50 +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 ZG4bAke27Afz for ; Tue, 19 Feb 2019 15:43:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6D09184AFB for ; Tue, 19 Feb 2019 15:43:49 +0000 (UTC) Received: by mail-wm1-f53.google.com with SMTP id q187so3330389wme.5 for ; Tue, 19 Feb 2019 07:43:49 -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=FlpJZ7FTrklZuwtm30e4Djt12YNr6VfI4bkU8zkgZlU=; b=WrfmonxczCt5HzazOkif8j0/t3/0Hgdo8o263WCoJNU20Lq10CRAp8Ml3XTwnJz4gz CO3MT44GLrarO/PAQ63x6zp3AcqMRL0nmiS9KBAeRN47BzS3f/88k2RJD0/WBuLZqu+D q18IE95NeuB5/26wzr/haB8mMffc8e1FcnGkvKGSuFglvDmdObbC3cm4lbOHSnOrfQrz rK6QE8DoUhzCOY4x1zHhXXTdpsvfBf5g1eLbQK0aDGJermA+k1z0A/pWxKUL6coA9jxT U8bRAY+gAf4tlbfaZGqt3iPJFB4M5FU4JSpnt/P/YG0gIVjD1Wz5xeUrtcVnP9H6S2jf T6Ag== 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=FlpJZ7FTrklZuwtm30e4Djt12YNr6VfI4bkU8zkgZlU=; b=U2Btz02KMTIHbNeFInmUPACl3jCadM4ZGPCLXKDrBzu49ZrcJd5eWsXwTDF7qCbzSa 65a7OrfilEPs+jzaFjRHjOuWXm6FkeK9AX05Bk5eQBFB0iuT0BGrD6uBe7l5Ti46ODPb 3kwKR+pae5AxKYaksZm6SruLLsAe6syJsr++B7ELxqCIMn5hYOft45FDfycGpq1RkmQ2 lY2udoE7nc+yz7wtlUxp68a4dXljyLA8H/s6pVIzeX5Es8AgCkmEfn7rzsv7YlsFpJGb FkWDAEYfEV7ZCjUfa29lkOiXa0pp9414eYo51uaXbOP0UjR8OSBBj8sOHgIDIP3f7WBX w09A== X-Gm-Message-State: AHQUAuakIjjnek+h68m23rXvBWOVFnCIDTLcmucrFI7bwbOpntyve3zD VEmyEaEMFyebzDJizSm1BA4T9Bg1 X-Google-Smtp-Source: AHgI3Ib/5KkaFcAxJSNUnSdvf8pHpgdMdHhkPSQGTX1Ye0hU/4tp1tuhqQ/Cz1KGxmiv2xokMOVGDQ== X-Received: by 2002:a1c:b40b:: with SMTP id d11mr3542396wmf.80.1550591027804; Tue, 19 Feb 2019 07:43:47 -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.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:47 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:03 +0100 Message-Id: <20190219154311.22173-3-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 03/11] support/testing: add lsqlite3 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 ++ .../testing/tests/package/test_lsqlite3.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_lsqlite3.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1730f3906..b67b3cde1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -328,6 +328,8 @@ tests.package.test_ipython.TestIPythonPy2: { extends: .runtime_test } tests.package.test_ipython.TestIPythonPy3: { extends: .runtime_test } tests.package.test_lpeg.TestLuaLPeg: { extends: .runtime_test } tests.package.test_lpeg.TestLuajitLPeg: { extends: .runtime_test } +tests.package.test_lsqlite3.TestLuaLsqlite3: { extends: .runtime_test } +tests.package.test_lsqlite3.TestLuajitLsqlite3: { extends: .runtime_test } tests.package.test_lua.TestLua: { extends: .runtime_test } tests.package.test_lua.TestLuajit: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_lsqlite3.py b/support/testing/tests/package/test_lsqlite3.py new file mode 100644 index 000000000..d87477464 --- /dev/null +++ b/support/testing/tests/package/test_lsqlite3.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLsqlite3(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LSQLITE3=y + """ + + def test_run(self): + self.login() + self.module_test("lsqlite3") + + +class TestLuajitLsqlite3(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LSQLITE3=y + """ + + def test_run(self): + self.login() + self.module_test("lsqlite3") From patchwork Tue Feb 19 15:43:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044737 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="E8beOEYH"; 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 443lQP1qk6z9sD4 for ; Wed, 20 Feb 2019 02:43:56 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 523BF84AFB; Tue, 19 Feb 2019 15:43:54 +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 GyxhP2DF4C7C; Tue, 19 Feb 2019 15:43:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 8DC9486272; Tue, 19 Feb 2019 15:43:53 +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 4E4BE1BF2EA for ; Tue, 19 Feb 2019 15:43:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4BAB786272 for ; Tue, 19 Feb 2019 15:43:51 +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 WIYm74ZTCUlv for ; Tue, 19 Feb 2019 15:43:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by whitealder.osuosl.org (Postfix) with ESMTPS id 87B8484AFB for ; Tue, 19 Feb 2019 15:43:50 +0000 (UTC) Received: by mail-wm1-f42.google.com with SMTP id q187so3330467wme.5 for ; Tue, 19 Feb 2019 07:43:50 -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=to82jqrrPn5k/prt3sQgK9zBKXRHoZ0vRohsWQItpqw=; b=E8beOEYHNsUtsV0Hx1iBZylGNcRzkvDA6F4vnJY1FbxlTJEVaTyDVLdBsv5TGZT1eR pMxGxHh1rReFE8FB7E5xQYTDg5fyRomcCI1sGw4n1ZIlco5deZMHnIRjeZU3EcjJKBlO JLkYsndQ5+6+Po+Vnr0okBGUBR90XNiQEGyZ/Wl1WAOJWAC98vchJTZa55U4HWTCBVDA x3RLJPNqaRciFDNkjksb1cs0/N87rmcl0oUxMRLhWTWM+fhVSJKv4QD+zob7RWCkFl/h Dxu8tDmkqb+occ8zGOca0XMvG2gTMC8U6uZriytxXaABk9Rwc4VP1dH0yM4X9VtLxlwO rxJg== 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=to82jqrrPn5k/prt3sQgK9zBKXRHoZ0vRohsWQItpqw=; b=mGY6aukikzTrvmXUqJuiZn2GyLuTTOcRZ+2nFF6kbSytHARFOAVG54CLbQsp277ZKO 5L5ZcbobQdjOuJtz2E4UrxCABrBugNxD+07EwxjFRFfV6F0Gee1iplnwesD87Urk7YhZ uzV3lK5JlnldkAKw/GL0fB79GnyFsLDfQRlDGFtbLsuAzWIy4FNiPsHrRfcQ0t160nj7 FHutKFLoAd8rmHlrzOZBwf8Sf8xzTR9tg5/OTr86q7Eqa33WTJNiRGe2MKB2x0mWeLiu xRNv9OTqaS2VjJImtIH2Sr8vs3vP25yLsu25/PzWN2L9dcawyvxr48YDwKljZehOKrkk VDYg== X-Gm-Message-State: AHQUAuZWaI3rMuRYU7LQiy+A95ndoXoHV4SC26BlOwoNmwoSbsTWY9Mz 9+TE8+0p+jGswstCMGPI7hzS0v+x X-Google-Smtp-Source: AHgI3IZ0iliHHuWyz6wr/nBBNid9jzCcU44QZejMvYTGfoMJ1GGUS6qc5LY4EBcBQfSeomzBifhMJw== X-Received: by 2002:a7b:c112:: with SMTP id w18mr3405189wmi.28.1550591028914; Tue, 19 Feb 2019 07:43:48 -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.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:48 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:04 +0100 Message-Id: <20190219154311.22173-4-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 04/11] support/testing: add lua-curl 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 ++ .../testing/tests/package/test_lua_curl.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_lua_curl.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b67b3cde1..e4e9dcb23 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -332,6 +332,8 @@ tests.package.test_lsqlite3.TestLuaLsqlite3: { extends: .runtime_test } tests.package.test_lsqlite3.TestLuajitLsqlite3: { extends: .runtime_test } tests.package.test_lua.TestLua: { extends: .runtime_test } tests.package.test_lua.TestLuajit: { extends: .runtime_test } +tests.package.test_lua_curl.TestLuaLuacURL: { extends: .runtime_test } +tests.package.test_lua_curl.TestLuajitLuacURL: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test } 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 000000000..5ee79313f --- /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") From patchwork Tue Feb 19 15:43:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044740 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="PKTElEj3"; 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 443lQV3Pv2z9s7h for ; Wed, 20 Feb 2019 02:44:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9FF438627B; Tue, 19 Feb 2019 15:43:58 +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 icMUi1SchYrM; Tue, 19 Feb 2019 15:43:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A937F862ED; Tue, 19 Feb 2019 15:43:57 +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 566711BF2EA for ; Tue, 19 Feb 2019 15:43:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 53D3686272 for ; Tue, 19 Feb 2019 15:43:53 +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 cdV4b--MfFmg for ; Tue, 19 Feb 2019 15:43:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9636D84AFB for ; Tue, 19 Feb 2019 15:43:51 +0000 (UTC) Received: by mail-wr1-f46.google.com with SMTP id c8so22498617wrs.4 for ; Tue, 19 Feb 2019 07:43:51 -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=B0V5171wIJunUqGNIb/lnprMhxgUy8LUeCDSw7iC0ug=; b=PKTElEj3qnHZ/H6sXS2eBrlvMMM2/zXV3xZKIDKX3RvvW0ipuucZ2CJuhA8NMRHrLJ +GLQLBoOgMJQhTmTEBououWmaGqsHHxZ+aHDenm5xRv/24Xub9baNha8c9RrxERz0V0Q grzHGraJvTWRMJidHWf6imZzXwFuU0azFsWLt/LMgiQL4Mm3gz0qWlpaDKAR5s9z1lDg ah0A9ffgyxcgZpABZBPfokud/PvKVjbtpzA51xaMwiVboIVUa9nxp27gsBGtYLtVHdGd 1gFSunfLpso/tmG0uwHAJ5vCCZuruxMzQCbrScEh7tByKwD5wlmCZ1xYrvAqKv91Zg+u yTkQ== 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=B0V5171wIJunUqGNIb/lnprMhxgUy8LUeCDSw7iC0ug=; b=RDJHd5/NERCrCPVohPD5OuwZqRm9upH9CTOh17hUs01CnzKVPSapbRpNPFL/NVUoqk 8Nw7TU7Yz7+d/jXgSXScT3hW26hj6r0Tni0iOqLUiiGLXTKhrYDgpSIuYAAbvW1Etnqz eAQrJIifiV14SOOiJo2WMjI1EfAwepFqg6dz3AYEZfJ9jnswbEQ/wx0mPnnUdfVwCfL5 qzhn9UfprjvtNqY7ZUcu6aRPVxtFvf4N/giTmcjTVfewDa7ZWmLaUsoloJ51uWxzKRwa XX9wLmBhksfsLryJsCU84JEpLgCu7b+X5qpSnUZsecuvqVqzDk3GeetOhFGPean+YANK tboA== X-Gm-Message-State: AHQUAubGzvKebs2EE/OyfzGlAq36NKODy2/kNUErg77EGpJAE7v1y3Wr LrmLnJCn8JL95OfVNZswNKhgrkEd X-Google-Smtp-Source: AHgI3IZUqxSvTFbiMKpSFJpg6mLaHriRX/8bKT7Btmce/7FbQI8gEPs1KVkrk479/A4Emce/Jn5JsA== X-Received: by 2002:a5d:500c:: with SMTP id e12mr8231157wrt.27.1550591029905; Tue, 19 Feb 2019 07:43:49 -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.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:49 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:05 +0100 Message-Id: <20190219154311.22173-5-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 05/11] support/testing: add lua-utf8 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 ++ .../testing/tests/package/test_lua_utf8.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_lua_utf8.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4e9dcb23..ad7186a98 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -334,6 +334,8 @@ tests.package.test_lua.TestLua: { extends: .runtime_test } tests.package.test_lua.TestLuajit: { extends: .runtime_test } tests.package.test_lua_curl.TestLuaLuacURL: { extends: .runtime_test } tests.package.test_lua_curl.TestLuajitLuacURL: { extends: .runtime_test } +tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test } +tests.package.test_lua_utf8.TestLuajitUtf8: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_lua_utf8.py b/support/testing/tests/package/test_lua_utf8.py new file mode 100644 index 000000000..3eab19dd4 --- /dev/null +++ b/support/testing/tests/package/test_lua_utf8.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaUtf8(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_UTF8=y + """ + + def test_run(self): + self.login() + self.module_test("utf8") + + +class TestLuajitUtf8(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUA_UTF8=y + """ + + def test_run(self): + self.login() + self.module_test("utf8") From patchwork Tue Feb 19 15:43:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044741 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.133; helo=hemlock.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="IXrpfp+j"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443lQY25zhz9s7h for ; Wed, 20 Feb 2019 02:44:05 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5794886258; Tue, 19 Feb 2019 15:44:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NVZl7MkeAqR6; Tue, 19 Feb 2019 15:43:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 226D0862B1; Tue, 19 Feb 2019 15:43:59 +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 D60811BF2EA for ; Tue, 19 Feb 2019 15:43:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C5A0B86272 for ; Tue, 19 Feb 2019 15:43:54 +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 AxfePTGCfpcC for ; Tue, 19 Feb 2019 15:43:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8F0C586256 for ; Tue, 19 Feb 2019 15:43:52 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id d17so8078478wre.10 for ; Tue, 19 Feb 2019 07:43:52 -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=1mpaDCBz98aDjEwHy7fMGOTCern3ozLjz+uJAjnWt0k=; b=IXrpfp+jtdFk/8Z5x39kErQsKay+s5Md7eP5GqNsI/aqeBK2E/QYRfTJbDjJffIfQg yzvCCS9fKx6/7V15czg+BmXP40Vq1/jM430zuPdHqWutwQGFUAvyvA2M2fkyRsH9q1Rh U/Zz/Tgfb2D9dlyQ7kr1E10MbzIY9LlIvI/NJJt9OLfqW1mUyuk8kCktdt8yv3l+UB7y UwcN0b2o8frorfT6TShPcXcby0j+BeCsfp7DhOigpwNa87g4iVV6c6Q1Bt+zUe+HijOF KhoXH/KQlef+oc3WLf3btFZudCa3rmxTqJOB5j+1CgDMpSYNb0gX4ER1FXQ2f7wrewh+ 0hxg== 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=1mpaDCBz98aDjEwHy7fMGOTCern3ozLjz+uJAjnWt0k=; b=Ti5PcbaIN6Xti/2ieDKxMy1bJ3ZRwrnfxqzZ2qS32u6p/mCzoZZHFLQSONfS5ebba0 hc7rm3eVnTKxNk7G/2pCDdu7luUyPcnrek/8bmKm4dRPaEOm+z0uHEMk/q0edy1blQaJ 5g2aWSiKUYIQSqPNDdTxRAYDDGlIb4UpUlx5GK/h9PBQm/vHqA8oMU67jCod60+9Lwak 479qt9N+BkIc3P6CmB98cDPoZzL6CNQgRC6FTkLcoC/wSmfV8qVcdrzolKIr1vj7F8o0 D3I0waWIVOS1IPQFvr6Zl4A5l8C1UoCf7xH2mYwRs9Nh7sXqvCek1IAp+SXOotyzFhqq qxfw== X-Gm-Message-State: AHQUAuY9O2udmz5n/4IMgP0uxwJkJxcXGazniURNQCbe2kFISAl2bSqc F0kVIrHFWvHZWnrP/S6H7jA1d660 X-Google-Smtp-Source: AHgI3IZRCRLCU3vMRGglY/FfYCaagCFsUdN5Y/otHvpSDh0iyd6s8gK+LcYf7G4v2H8GUPhctb45Qw== X-Received: by 2002:adf:f00b:: with SMTP id j11mr20854981wro.57.1550591030910; Tue, 19 Feb 2019 07:43:50 -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.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:50 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:06 +0100 Message-Id: <20190219154311.22173-6-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 06/11] support/testing: add luaexpat 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 ++ .../testing/tests/package/test_luaexpat.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_luaexpat.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad7186a98..f96f7f130 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -336,6 +336,8 @@ tests.package.test_lua_curl.TestLuaLuacURL: { extends: .runtime_test } tests.package.test_lua_curl.TestLuajitLuacURL: { extends: .runtime_test } tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test } tests.package.test_lua_utf8.TestLuajitUtf8: { extends: .runtime_test } +tests.package.test_luaexpat.TestLuaLuaExpat: { extends: .runtime_test } +tests.package.test_luaexpat.TestLuajitLuaExpat: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_luaexpat.py b/support/testing/tests/package/test_luaexpat.py new file mode 100644 index 000000000..c71c3fadb --- /dev/null +++ b/support/testing/tests/package/test_luaexpat.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaExpat(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUAEXPAT=y + """ + + def test_run(self): + self.login() + self.module_test("lxp") + + +class TestLuajitLuaExpat(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUAEXPAT=y + """ + + def test_run(self): + self.login() + self.module_test("lxp") From patchwork Tue Feb 19 15:43:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044743 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.136; helo=silver.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="AW6CzFw7"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443lQZ36TDz9s7h for ; Wed, 20 Feb 2019 02:44:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6E692232D7; Tue, 19 Feb 2019 15:44:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LKt5VDKrIM-l; Tue, 19 Feb 2019 15:44:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id DD8B4226A2; Tue, 19 Feb 2019 15:44:02 +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 225471BF2EA for ; Tue, 19 Feb 2019 15:43:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 32409862ED for ; Tue, 19 Feb 2019 15:43:56 +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 zwHJcGkUnvnu for ; Tue, 19 Feb 2019 15:43:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by whitealder.osuosl.org (Postfix) with ESMTPS id 060BA8627B for ; Tue, 19 Feb 2019 15:43:54 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id x10so3263504wmg.2 for ; Tue, 19 Feb 2019 07:43:53 -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=5dYAro5xJLCRE3nsrRU1RwKvsO8y48F/tG7nlJJ3TPQ=; b=AW6CzFw7dbjs+bSvAZAwmWwXpFGJIXl1k/TvHL00kkRO9FP0DKWn6M+vQmTotr66oC JBbatipeSiZDmTYT+tWbXLixDJ/Il4F8UoQfEa3frmWhhnlldCq6Bhf2o84hWay6BZLJ Yc1SN1FZ6dYFfdYm6CFyyzxVXcjoTF1Sxs/y72pQ7u6LjBlgd3uD4NAFG0YwAhjjAU04 HYRTMSTMxP9kgmERrB7r61l/Byg5etkBTw5dvyVHKT6r+MI860yHDD9w+P6OVXP6dfnl 042PkqqFF7dE9cN55B5IFQEcQDsaWzHs3CCnY57aafIRDAbpRtuPoHz4sQoJCH/kcQtQ JBTw== 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=5dYAro5xJLCRE3nsrRU1RwKvsO8y48F/tG7nlJJ3TPQ=; b=n+BXFu1yIvjzl1AJhsviEksbsMFXdMJn+4MY3W4EJlq9og5DiX7N8sX9LOvYtflzdB LAqytBO4X3Z8HmINwlQ5TOsnV4OiATiZJjVLxXhk+VdNdbhsT0LB+SrLWqpS7Ec/NLNU P/P9cskUMmkDvQcYPMelzB7UIwZPpFKuH+CO0GLZfLH7iv2Xn8RIT3eU3ems8BXI5Aud 1+x7R086Z4j8uXnTp8/+20Vyl73BsFegvpCsijQJhV6C+Rm9uAewKSDA5uN76GQZz2eb lCzxTLU6kJlajKdhkG/9p2Mc0ZFDm0Oof7qpbfsRNr1jR04GG7a4DacKbtOcRTk8iBxu OJOw== X-Gm-Message-State: AHQUAuZ9Hp9+dfaJ9qUU8ykY1Nq/yiW6GnQtfdJVNl0K7ujH2NfBO7Y0 DXhBQG5RpfxscUSf9YK5nhuECMG1 X-Google-Smtp-Source: AHgI3IZS7A4AJJwCX08wOF/lxYQCpGNJmCUG5SB/Vory2RnRMAlJCOExXglNRb2kIgDoFQ2M+2/+1A== X-Received: by 2002:a1c:9d92:: with SMTP id g140mr3267910wme.35.1550591032396; Tue, 19 Feb 2019 07:43:52 -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.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:51 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:07 +0100 Message-Id: <20190219154311.22173-7-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 07/11] support/testing: add luafilesystem 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 ++ .../tests/package/test_luafilesystem.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_luafilesystem.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f96f7f130..a73d6b7d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -338,6 +338,8 @@ tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test } tests.package.test_lua_utf8.TestLuajitUtf8: { extends: .runtime_test } tests.package.test_luaexpat.TestLuaLuaExpat: { extends: .runtime_test } tests.package.test_luaexpat.TestLuajitLuaExpat: { extends: .runtime_test } +tests.package.test_luafilesystem.TestLuaLuaFileSystem: { extends: .runtime_test } +tests.package.test_luafilesystem.TestLuajitLuaFileSystem: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_luafilesystem.py b/support/testing/tests/package/test_luafilesystem.py new file mode 100644 index 000000000..a84c1f300 --- /dev/null +++ b/support/testing/tests/package/test_luafilesystem.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaFileSystem(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUAFILESYSTEM=y + """ + + def test_run(self): + self.login() + self.module_test("lfs") + + +class TestLuajitLuaFileSystem(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUAFILESYSTEM=y + """ + + def test_run(self): + self.login() + self.module_test("lfs") From patchwork Tue Feb 19 15:43:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044742 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.133; helo=hemlock.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="QeZ67BEE"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443lQZ0GMwz9sD4 for ; Wed, 20 Feb 2019 02:44:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2D54286DA5; Tue, 19 Feb 2019 15:44:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dnnuAC9hC4mA; Tue, 19 Feb 2019 15:44:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B34E686DB0; Tue, 19 Feb 2019 15:44:03 +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 398001BF958 for ; Tue, 19 Feb 2019 15:43:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 775CE8627B for ; Tue, 19 Feb 2019 15:43:56 +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 Qg8Vx8VnPBJ0 for ; Tue, 19 Feb 2019 15:43:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by whitealder.osuosl.org (Postfix) with ESMTPS id 141438632F for ; Tue, 19 Feb 2019 15:43:55 +0000 (UTC) Received: by mail-wr1-f52.google.com with SMTP id r5so9142103wrg.9 for ; Tue, 19 Feb 2019 07:43:54 -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=pzsY14GRqHEOLXOpppuaxDJT+ZIVewRY+zql0gF4wvA=; b=QeZ67BEEcl+h4mRYTo38CF7nM0+eXjlGlFmDH1uSCzeoFZcB0w8nzSb98Mvq9fUQDd TAj4OFbkQXv3bEQYx6UdJdAI9P+/hrEy1/pG2rL018JNanavuUTBFniT4nL1G2ef55/n x6+4nquGP2Sdbg2S+9mQF2CRhvUhF87B88Wt6U/tndOuQgjw5zDN4zsxwgnT+PmolKnM PUa3PgoI00YbopvoxyJOx65vWD9xLcMOdOa7LT+VIlvWGNmHQ4LVa9bE5zMVPpDnVH8t 6+ObUF3VqarOggKWHl51/4MJ3DGAxyM6UqB8V7ugGeDuXSYIk3Ow0ZO1WaBiy68L9Vd5 srIg== 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=pzsY14GRqHEOLXOpppuaxDJT+ZIVewRY+zql0gF4wvA=; b=PfVJ5On8utPkOhGys4zfZUtFQ8knUMIaLcEtPk36afTkFO+OCzaV6wYPUSipU32g/u DXD4qs4Z8teOuYNMKEabIfPNuFKUolZ3IFOv8InqAe91psGVzjEMrEMId3c4wU7Fyxr8 6+Qo+JeWPp8+bvG7RPBlQb9/uLePpk7PC53wTzA8R3C5x8stlRpKCFuyKRKI8c1U2fdr cf9ABEFubDLP16uWdWU1gWIqVhjmn3qE9SzGt7LGc7TtTchW5FmvHfFK+sXS0kBiTeO7 YrGFcxvABR+RyOAzQqup27ac9kkOl/uqrGGbXgh4gV+QqkQPfhBBmQ8N15LsPuWi5K3j 0/aw== X-Gm-Message-State: AHQUAubfOp4+YcBKmBLKNSdVDtxi/Vpp65JI1jGVQpesGtHKWTomU4IW NB98QSjMkPUSPCK/sCjOY+jmWtsJ X-Google-Smtp-Source: AHgI3IZ0uQAPFw78GqeMGiYzvwvV9RgtyZz3CdJjoafJg+yv9vyFRKgMSGX4UmOXd3VEO+QwOPhkAg== X-Received: by 2002:a5d:4e44:: with SMTP id r4mr6418281wrt.228.1550591033454; Tue, 19 Feb 2019 07:43:53 -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.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:53 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:08 +0100 Message-Id: <20190219154311.22173-8-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 08/11] support/testing: add luaossl 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_luaossl.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_luaossl.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a73d6b7d0..92a54bd1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -340,6 +340,8 @@ tests.package.test_luaexpat.TestLuaLuaExpat: { extends: .runtime_test } tests.package.test_luaexpat.TestLuajitLuaExpat: { extends: .runtime_test } tests.package.test_luafilesystem.TestLuaLuaFileSystem: { extends: .runtime_test } tests.package.test_luafilesystem.TestLuajitLuaFileSystem: { extends: .runtime_test } +tests.package.test_luaossl.TestLuaLuaossl: { extends: .runtime_test } +tests.package.test_luaosll.TestLuajitLuaossl: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_luaossl.py b/support/testing/tests/package/test_luaossl.py new file mode 100644 index 000000000..f6914e054 --- /dev/null +++ b/support/testing/tests/package/test_luaossl.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaossl(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUAOSSL=y + """ + + def test_run(self): + self.login() + self.module_test("openssl") + + +class TestLuajitLuaossl(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUAOSSL=y + """ + + def test_run(self): + self.login() + self.module_test("openssl") From patchwork Tue Feb 19 15:43:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044744 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.136; helo=silver.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="Faa1l3gi"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443lQd5cQxz9sD4 for ; Wed, 20 Feb 2019 02:44:09 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B5E9923340; Tue, 19 Feb 2019 15:44:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t1poikui02Ur; Tue, 19 Feb 2019 15:44:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id BDD52226A2; Tue, 19 Feb 2019 15:44:04 +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 4EA891BF2EA for ; Tue, 19 Feb 2019 15:43:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 296CA862ED for ; Tue, 19 Feb 2019 15:43:57 +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 GKRsS88t5oUj for ; Tue, 19 Feb 2019 15:43:56 +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 3715486354 for ; Tue, 19 Feb 2019 15:43:56 +0000 (UTC) Received: by mail-wm1-f46.google.com with SMTP id z84so3288616wmg.4 for ; Tue, 19 Feb 2019 07:43:56 -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=G9aTThqq6xHEJR0YybE1A6sR8E8QTRVuAGNkKni8lt8=; b=Faa1l3giDYKI+VQp13FS25Xe07xpD/VMgizTC4bep37nkxhQq60OGXdyRo+/MsJnNo 4pCXVjzA/rikZxy7UxDBm0o2Y/7nkEPh9b5j5rln3YCqulY2grsbefEhl/QmrIzoVTP5 CdvIAEzN9c5u8hWjs+r1HuqQlevJ1DURm2YHQn6pzMy2eKKrthmySSTx99dQlyajlTAs x9+uslRGmsfQ97Bwfmol8D0abliiv+XJMzcwcVIpzdtnBaLBsSYoRB+HCDPXk+Xnf9qR 5fAXgJWbheSrx90zVeql9Y2LgdcD4TuSs6jgwjx7dWhr2V3+fRhSR+pl+pyrBNYddGIb V35Q== 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=G9aTThqq6xHEJR0YybE1A6sR8E8QTRVuAGNkKni8lt8=; b=HDjCKopsjyNs59TGqpr1CYtEl9p94c/QJ1v8yoQUU2zqTsoNj6MTyPoF8Dh+1TYyn2 YhOm/+Osc1POfqOxDJLhArAkqQ4Lw99/41qe7XEgpcJ+B6n8cqSQvmfdiFsffRKjvQRI 5EJEaJ3x2pb6sIsOVF/wOXkfFlu/YxUV0agmzjJZRMUJXNlCN+PmIF9KC8pdTrIr+Pd6 eU4NKdRB1E3TtCgVsgDvHe/RMDI0vMFNorVyXUhDv/OYZA5JZApDA61eHJSDdDglk3PX qQg0K9pdQlfRQeDSziyyTpXUE/a5HgLLkne1Gykjf2+hqlbihLdn8UME5UlEpWGRPCT6 KtHA== X-Gm-Message-State: AHQUAubbyrpryY0HFcfkvS3evaXV9d22X01JExT/U5GdT/0xwiHNKHu/ 2IrU7Jwur78O5I70i8zKFQzmzvxP X-Google-Smtp-Source: AHgI3IboBdJN4zgUy3DTR4O7Vc32GkKnOs1lQamfcvacWaVuUwnP0xu3GjCrotlibUyLVVcbatd02w== X-Received: by 2002:a1c:e344:: with SMTP id a65mr3450467wmh.117.1550591034459; Tue, 19 Feb 2019 07:43:54 -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.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:54 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:09 +0100 Message-Id: <20190219154311.22173-9-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 09/11] support/testing: add luasec 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_luasec.py | 25 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_luasec.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 92a54bd1f..12ac3a43e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -342,6 +342,8 @@ tests.package.test_luafilesystem.TestLuaLuaFileSystem: { extends: .runtime_test tests.package.test_luafilesystem.TestLuajitLuaFileSystem: { extends: .runtime_test } tests.package.test_luaossl.TestLuaLuaossl: { extends: .runtime_test } tests.package.test_luaosll.TestLuajitLuaossl: { extends: .runtime_test } +tests.package.test_luasec.TestLuaLuaSec: { extends: .runtime_test } +tests.package.test_luasec.TestLuajitLuaSec: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_luasec.py b/support/testing/tests/package/test_luasec.py new file mode 100644 index 000000000..f87326362 --- /dev/null +++ b/support/testing/tests/package/test_luasec.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaSec(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUASEC=y + """ + + def test_run(self): + self.login() + self.module_test("ssl") + + +class TestLuajitLuaSec(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUASEC=y + """ + + def test_run(self): + self.login() + self.module_test("ssl") From patchwork Tue Feb 19 15:43:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1044745 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="BhMVCTIn"; 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 443lQd5cLmz9s7h for ; Wed, 20 Feb 2019 02:44:09 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1CE3386274; Tue, 19 Feb 2019 15:44:08 +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 Gd9jUhrQLvzV; Tue, 19 Feb 2019 15:44:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 342F88632F; 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 34FB51BF2EA for ; Tue, 19 Feb 2019 15:43:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2952A86354 for ; Tue, 19 Feb 2019 15:43:58 +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 U1g2VROCgyGT for ; Tue, 19 Feb 2019 15:43:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2C7D88632F for ; Tue, 19 Feb 2019 15:43:57 +0000 (UTC) Received: by mail-wm1-f50.google.com with SMTP id x7so3326817wmj.0 for ; Tue, 19 Feb 2019 07:43:57 -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=7rbsd99y2wgMmQaRK6SRvfQjKzc/CEzhpzj7XGPmOxA=; b=BhMVCTInPkxxLXK6wG6RUZZMvanU3LfAyuIizUgVnyiqt8L9yU/HC9IlzUNAMapjim hGnwAetL3vDWUuZv8ptzh5NxdNPItwrawcgA0dMh/mQ/tM0F0qUWbXoBwA7mVrDnvsMI J2NgVc5wwdxZbCs1pcE+RSliwS2z7tiCUO0eQMmcsYxTau6sLwBj65tdcuDXQRPzy9Bx o4p0ewKjRlR0OSU/hatDqFYIhMZstKrfwv3/LLgA+XX2rmSq+JEzqdIXLubFJosxPE2g cnROuackzoIQ4osniTj1c972hoX38pZI+qyHptx2iEIpdKi19YVDlCxLKvO7851pWIh1 xa3Q== 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=7rbsd99y2wgMmQaRK6SRvfQjKzc/CEzhpzj7XGPmOxA=; b=ujOZBKm4GIcKTG98XXReveAsf89SLJWifEK+br5y2ZI0FppSDcZCgt1qnnUJTfLFay wVNoDKmHN2b0Zf5zBuCbDSHH8GEd3LJC21CKVoL0zC4nPoiCigRFpT6SJPwjlLRBR+LY 5T6qedzbDnICb8dQxE1KAdnIOk/ZuVDIc4YW1M7RaqkN67BWnSv14BwViS6XhOSPEK4B q9oVvBtHrN2RMGEFhs2qp4QDiObHZsZULH/MRrMdZNoWAnSkNBe56LZ+2o+VrKEJqVUn g+UJr7LcK6fgcQVI9fSqEMM08S+vou4XY3jpDHdLxoltLY9vVcJFQMmn6Dn0OxnNccva I2yw== X-Gm-Message-State: AHQUAuav+Lm7GwSWHw93YdUq5aUglDQjgEclt4F7a6o4U85iftb/UL2I wCZrJlpBX85Z8I1/3TLiQo57ON1O X-Google-Smtp-Source: AHgI3IatsAYLsrZg8PdgIwQZd7NowLCCn90vr+FFRclGtasbRvBIutafy0O3xdMLBPDmq1KElyDd2g== X-Received: by 2002:a7b:c752:: with SMTP id w18mr3458743wmk.97.1550591035474; Tue, 19 Feb 2019 07:43:55 -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.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 07:43:55 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Tue, 19 Feb 2019 16:43:10 +0100 Message-Id: <20190219154311.22173-10-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 10/11] support/testing: add luasocket 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 ++ .../testing/tests/package/test_luasocket.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_luasocket.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 12ac3a43e..65f9d5a1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -344,6 +344,8 @@ tests.package.test_luaossl.TestLuaLuaossl: { extends: .runtime_test } tests.package.test_luaosll.TestLuajitLuaossl: { extends: .runtime_test } tests.package.test_luasec.TestLuaLuaSec: { extends: .runtime_test } tests.package.test_luasec.TestLuajitLuaSec: { extends: .runtime_test } +tests.package.test_luasocket.TestLuaLuaSocket: { extends: .runtime_test } +tests.package.test_luasocket.TestLuajitLuaSocket: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_luasocket.py b/support/testing/tests/package/test_luasocket.py new file mode 100644 index 000000000..c2d19d78c --- /dev/null +++ b/support/testing/tests/package/test_luasocket.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaSocket(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUASOCKET=y + """ + + def test_run(self): + self.login() + self.module_test("socket") + + +class TestLuajitLuaSocket(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUASOCKET=y + """ + + def test_run(self): + self.login() + self.module_test("socket") 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")