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")