From patchwork Sun Sep 29 12:55:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1169001 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="V15sGyk6"; 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 46h59s0XnLz9sNF for ; Sun, 29 Sep 2019 22:55:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 14A8B20480; Sun, 29 Sep 2019 12:55:42 +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 ncP8OjyJFlhQ; Sun, 29 Sep 2019 12:55:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 42B5620502; Sun, 29 Sep 2019 12:55:40 +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 5ED9B1BF2BE for ; Sun, 29 Sep 2019 12:55:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5B1A08641F for ; Sun, 29 Sep 2019 12:55:35 +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 iouzy8IBs-nG for ; Sun, 29 Sep 2019 12:55:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6B254863F4 for ; Sun, 29 Sep 2019 12:55:34 +0000 (UTC) Received: by mail-wr1-f43.google.com with SMTP id v8so8003682wrt.2 for ; Sun, 29 Sep 2019 05:55:34 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=wGrDH8nmjF4mqi2RsEtVFQ6eqyRRtvZPdg6tjbYtpe4=; b=V15sGyk62g5/Ic+rGii5syBuLdlDhqPEtEdxKzmFimCjmiZpTfyX0EyYzxtGbpCjjQ ckGNHWZ8K3EH11pfgA8yNWCbnIC/X3H2/Fc8EPpaWz32db553rso7Hc2nnDomzbGNeFU E0TAKcj2huG9Q1conZzhVZ6uujQVTERy/zJoUfuaCF5VzMI8fESX+FZmRK0WqYpQC/W5 5niqZYfU8RK5KMl4J/N00hpm4c/K0mxmzmeRD+NIMl2I02JYiimRwlC5G3uLVs2GblJr 1EpEv8P+E0mUDPI+0w3O7UGVsWCCRBIvz7zFckwbmkvYaw2rC3ecKU/DUVD2GL9eIjq0 EFBA== 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:mime-version:content-transfer-encoding; bh=wGrDH8nmjF4mqi2RsEtVFQ6eqyRRtvZPdg6tjbYtpe4=; b=ImlXSxEcQ6ASSG0BVDL/g1bP04cAZcmW3ofBB3ps8PGbNR1GhleLlC1pHgS27ojcYf MjfcmNaRATrmLzW0xnj67SPDWXi+vAtKOwb6eddZ+GWj+Pp1A0swowivHv4ooatxbKdz HN7tJ31r85InvQGBZlqR38RKD+KNFWBwKFqR6neTDmOMy8F5fVnVEX6goRTHf1qnG+oi A5YWzNvsVEi8frYGoN45et7rccmhfuaoi6dsKJ1JOVJt4iI50ToYAs9/hc5IyM8VS/Zv ojS9GJUqwjKOzHMVmjpGSHpiSpl1dtmIvYuBdYPnRavsZLgP0Cu4MG7/QUp1n90UPPRu 0HjA== X-Gm-Message-State: APjAAAVH9//LTsizUOIeeYBysJ3pGmTnZRuzod2xXODCNk1lDEXW99rE SsYrRJznsOYPGBG5eDsTW5bBZ4hv X-Google-Smtp-Source: APXvYqyGXOYuFwQJyU3ZP4kbkPmDj0H+lJcDgGXGcLeEk+gT/7j07XArujdyYRT9IK88KJujaWDALQ== X-Received: by 2002:adf:f689:: with SMTP id v9mr10491980wrp.82.1569761732822; Sun, 29 Sep 2019 05:55:32 -0700 (PDT) Received: from localhost.localdomain (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id q10sm28919633wrd.39.2019.09.29.05.55.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Sep 2019 05:55:32 -0700 (PDT) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Sun, 29 Sep 2019 14:55:18 +0200 Message-Id: <20190929125520.16957-2-francois.perrad@gadz.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190929125520.16957-1-francois.perrad@gadz.org> References: <20190929125520.16957-1-francois.perrad@gadz.org> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/4] support/testing: add lua-gd 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad Reviewed-by: Ricardo Martincoski Tested-by: Ricardo Martincoski --- .gitlab-ci.yml | 2 ++ support/testing/tests/package/test_lua_gd.py | 31 ++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 support/testing/tests/package/test_lua_gd.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc6628455..a1e309b50 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -381,6 +381,8 @@ tests.package.test_lua_cqueues.TestLuaLuaCqueues: { extends: .runtime_test } tests.package.test_lua_cqueues.TestLuajitLuaCqueues: { 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_gd.TestLuaLuaGD: { extends: .runtime_test } +tests.package.test_lua_gd.TestLuajitLuaGD: { extends: .runtime_test } tests.package.test_lua_http.TestLuaHttp: { extends: .runtime_test } tests.package.test_lua_http.TestLuajitHttp: { extends: .runtime_test } tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_lua_gd.py b/support/testing/tests/package/test_lua_gd.py new file mode 100644 index 000000000..f79f2086a --- /dev/null +++ b/support/testing/tests/package/test_lua_gd.py @@ -0,0 +1,31 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaGD(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_GD=y + BR2_PACKAGE_FONTCONFIG=y + BR2_PACKAGE_JPEG=y + BR2_PACKAGE_LIBPNG=y + """ + + def test_run(self): + self.login() + self.module_test("gd") + + +class TestLuajitLuaGD(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUA_GD=y + BR2_PACKAGE_FONTCONFIG=y + BR2_PACKAGE_JPEG=y + BR2_PACKAGE_LIBPNG=y + """ + + def test_run(self): + self.login() + self.module_test("gd")