From patchwork Wed Jul 10 12:34:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 168797 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp9907232ilk; Wed, 10 Jul 2019 05:34:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5Yxw0pJXbdkvsLBKAA2CFkfxjNfs1FRLMsG7fQykQ7txj4fsmcBx604nBlPwyQYRuboiw X-Received: by 2002:a63:1d2:: with SMTP id 201mr37016861pgb.232.1562762048591; Wed, 10 Jul 2019 05:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562762048; cv=none; d=google.com; s=arc-20160816; b=nCUGRn5axG0JpnIkG/XQ0R9i0ZfrAjJlTe4hnKnYg2nluopVIWIk0kvBNZGJ6VXMiq dIhaNg1ORNTWjm21ZxZPv+SilJkZ+SjKr1scG6cm3FUx5Fz229T7jGxv6cDEw0vdTf4/ qTco8zpM45KbpjErxip4nLWaycljQUeawZC26BdMTMSkuDoeCbjvk0czqJAHSuyIZaKL cpUvbH62NwXrZukGlZTb8mrFdzg14Pn4iA1fp6RvNQ1i/60lVmeyCplAiYbPIsNIKs68 gv7TL5F5PauLzDEqeGIIGPbxvHMOeiV6SbhcYV11SpXG+GlOoYT+NssC5Hs+eXRgneIV 1ZPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=AW9peTb4WUToSVnWG1e4x/uL9WAq8tMPwRNNVzrDlPA=; b=BonmHr72KxBhlNwQAU+EVWupX9fsxunyikJ6GNmzw60rBr6BOaA997fm/uyviLs3Gb 6xMQ1xAvZGNA1YS1nuVzI3o3x7UnC8qgt4Jr0+Ja6SH4Gg3vuoWD/g6CEKn/hw8nhCRZ nkh5EymT/mXnbbBjU3+m3padeVjlctBv2/JZzizAmrkh2Bke8Nx6t2t/aUujmsmC4cW1 YFhXfBJ4SLBjaDxw3V8FMCMWhPSpbiu6MFk50f2HRS63Vp4wzKF2FIN6Kme+JpgCNQ6C eInE0bPIUvQZ+4xK4/R3ufe9FKW1orL8s5T4uiqXCh+MprS7MgOTfLprnbsOWN0bNjn9 QxiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=UeSdKN2C; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id p22si2154544pli.255.2019.07.10.05.34.08; Wed, 10 Jul 2019 05:34:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=UeSdKN2C; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 34BB67EF0D; Wed, 10 Jul 2019 12:34:06 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by mail.openembedded.org (Postfix) with ESMTP id B9D7B7EF07 for ; Wed, 10 Jul 2019 12:34:04 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id 207so2149899wma.1 for ; Wed, 10 Jul 2019 05:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=pD3CoZaK+M76lTcPNN+yKH5iCQxHMmhDBzLMNSpmhCU=; b=UeSdKN2CzyYjbg5iFHQs5pIfqpd0qcd6yhdDiBOtCQd36pPXGU9KsO0bsFqFmFq8CO +GpHXgJO02fo6koYQxm95hVISv5HEEB+G20e1K6rIL8cMV7Ri/vVtsTEQwVEK2Sb6Vhe 8V05v5EyTcF4JMsJxbkM3S/1Wi2lwpCv1xYXmy2dojBQNC6iqgygTo7+4QDC/qDIhQJO DJuBhlldai7AnWYM/8ir29CF55K8VMJnCnG9SewFiL8XOxjJhH2A8+pL3nyEjNgteL13 6bX88ncXoZmnqpC/D9AKphJMaepmN87PQIWF2v1rSRdNl58i+C8QcGQi7v6toB4mxVTc CqUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=pD3CoZaK+M76lTcPNN+yKH5iCQxHMmhDBzLMNSpmhCU=; b=OQRtBtsE3h3bSzpfeYHVnNVfJ/lv0DeQnr1oF3tj44kibabsbLGIBdJAqraoODQ0vU b7Ak4swNqa/OtPlEK8sVRlGZozdDTVe6IyzBqsFDdHW77G/I8YJjF1+Q6cQ+OQV/hRQY rtK/pG1khtp/ENzNPWJ2kzJgU98Irz3lY/PrkVzW6C2hqA57nM3bSDqC3EF8e+tE2ixD IKNaMpfIikVpmnlQevkA6pjYJkNpMXOD+w97derVm/KakD/B0HIcpCaeT2AWsHyIe8nv mdqFgWivFj8fOybOMNs/eqoEncO+b4bVgpPQRa4aZ2hpEMHPfLjOQejNCOIjyqMgGo+H 0OXg== X-Gm-Message-State: APjAAAX36d7Smr1NQgg0PCjJ5Qk/cH3nZFWhN7zsOhFLm7vgPXINLnii TpF5OHEdOigwBdF3kVzGdrJQ9bsV5sk= X-Received: by 2002:a1c:9e90:: with SMTP id h138mr5571682wme.67.1562762045212; Wed, 10 Jul 2019 05:34:05 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id o126sm1950693wmo.1.2019.07.10.05.34.04 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 10 Jul 2019 05:34:04 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 10 Jul 2019 13:34:01 +0100 Message-Id: <20190710123401.16646-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] oeqa/recipetool: change the CMake test to use taglib X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org The current test builds Navit, which uses GTK+ 2. As GTK+ 2 is being removed from oe-core, change the test to build taglib instead. Signed-off-by: Ross Burton --- meta/lib/oeqa/selftest/cases/recipetool.py | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index e3f5c71666f..1c701a40bf0 100644 --- a/meta/lib/oeqa/selftest/cases/recipetool.py +++ b/meta/lib/oeqa/selftest/cases/recipetool.py @@ -406,22 +406,19 @@ class RecipetoolTests(RecipetoolBase): self._test_recipe_contents(os.path.join(temprecipe, dirlist[0]), checkvars, inherits) def test_recipetool_create_cmake(self): - bitbake('-c packagedata gtk+') - - # Try adding a recipe temprecipe = os.path.join(self.tempdir, 'recipe') os.makedirs(temprecipe) - recipefile = os.path.join(temprecipe, 'navit_0.5.0.bb') - srcuri = 'http://downloads.yoctoproject.org/mirror/sources/navit-0.5.0.tar.gz' + recipefile = os.path.join(temprecipe, 'taglib_1.11.1.bb') + srcuri = 'http://taglib.github.io/releases/taglib-1.11.1.tar.gz' result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri)) self.assertTrue(os.path.isfile(recipefile)) checkvars = {} - checkvars['LICENSE'] = set(['Unknown', 'GPLv2', 'LGPLv2']) - checkvars['SRC_URI'] = 'http://downloads.yoctoproject.org/mirror/sources/navit-${PV}.tar.gz' - checkvars['SRC_URI[md5sum]'] = '242f398e979a6b8c0f3c802b63435b68' - checkvars['SRC_URI[sha256sum]'] = '13353481d7fc01a4f64e385dda460b51496366bba0fd2cc85a89a0747910e94d' - checkvars['DEPENDS'] = set(['freetype', 'zlib', 'openssl', 'glib-2.0', 'virtual/libgl', 'virtual/egl', 'gtk+', 'libpng', 'libsdl', 'freeglut', 'dbus-glib', 'fribidi']) - inherits = ['cmake', 'python-dir', 'gettext', 'pkgconfig'] + checkvars['LICENSE'] = set(['LGPLv2.1', 'MPL-1.1']) + checkvars['SRC_URI'] = 'http://taglib.github.io/releases/taglib-${PV}.tar.gz' + checkvars['SRC_URI[md5sum]'] = 'cee7be0ccfc892fa433d6c837df9522a' + checkvars['SRC_URI[sha256sum]'] = 'b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b' + checkvars['DEPENDS'] = set(['boost', 'zlib']) + inherits = ['cmake'] self._test_recipe_contents(recipefile, checkvars, inherits) def test_recipetool_create_github(self):