From patchwork Thu Jul 6 14:33:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107166 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp2248462obb; Thu, 6 Jul 2017 07:36:18 -0700 (PDT) X-Received: by 10.99.95.70 with SMTP id t67mr26126764pgb.104.1499351778789; Thu, 06 Jul 2017 07:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499351778; cv=none; d=google.com; s=arc-20160816; b=hBwZCN01fHue7tnfvxgm39XCohl1azi8DMhRHqGobk/Zdy6U2nB9VqWsxQwHOQO4OE HEml0lC92PDR1ZdzjFQQVTY3dj6vG+1MP/+fnZNY4rnbqBe4wbYzlGov6Ve2vqHlKQvx DVcXC8W0N5mFx9CAnbZNqbIkhfmqBAocUUtx8rWFmYJxr0WLshR/Q9d9nudEb1tLn+5R bmb8ST5JViP4LerLPJaNWtHA4oe4aM7ES0Sxzmu6sDxgpVq5GxkLXZ7O5+ycB7fGpapJ Ybl9LIOKBbPnmzoQkN7cO/FVFZxoGQldF5hF+2gJ5WE7+Z+ApNjliCTRohr5f8d11B0Y 7HCw== 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:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=VPBt2VmWJKxYD3hJoP7td4LyR8xwGDmWiID78QyrCKg=; b=e9khVHtT5X7tB1dyjsS1bAn9JDcNpk6ZOmtl2KvBaI+ZHTSq6PgO25GfBpdtErG57M 3VzPbAw2xKJhbwp+jCWtEGoMObG2lIzke2EawsqowMBGrEwh2lkl4GCD8O9wvHORc9lS gUEeD+oROn/xfuOWoDHj4LnKvvK43LIy0/zeNtMQM007w77KOk35h3iD5FYpWVWPPv16 36LJB3ZfRUsn2zjqRX08a0mgM6h7epf+4gLoRPmho6qJwcNDUOel0/gFQba73j5fq2oC uhZjtUm1pIdtRbz+5yW7Giu/UM/KUDiwIenI+xvTWeSamXvYyUyU9d3bxuZfXb5R3slG EknQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=M/dG5Si/; 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=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id o6si233595plh.495.2017.07.06.07.36.18; Thu, 06 Jul 2017 07:36:18 -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=@gmail.com header.b=M/dG5Si/; 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=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E3B3E77E9C; Thu, 6 Jul 2017 14:34:30 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f177.google.com (mail-pf0-f177.google.com [209.85.192.177]) by mail.openembedded.org (Postfix) with ESMTP id 5898B775DA for ; Thu, 6 Jul 2017 14:34:06 +0000 (UTC) Received: by mail-pf0-f177.google.com with SMTP id q86so1888171pfl.3 for ; Thu, 06 Jul 2017 07:34:07 -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=47mrCpKZNVhuoyNWNKzAEDN5gPUKyG3fCkrK3ZR5P2k=; b=M/dG5Si/yJiyB2ujymc2NGwHVE6NhqfpXaSGvj9tZoTCAOHYzV+11Ys6oPh/0I1Adz SneLFSezgdtPJNCqnZVYKshAxNXQscKlYiUMfjzk85qDnkFcFNQBHaI/rgxp4G8Rwgal DuJ8XEe7LTX9CwZf2JoELymuhWi+bHX1TahfHoFoAtK5nVB9fcNkFz642K/WBkYDZDW+ eYqjiyyRA3tv84BHNRQmf7dZkEKtULvZO0cdS/FxMd93KPLSKdri0KrRIpsLR1IdUJa/ +lS0mStUiVl+N52vf+Dxtb2MYy3so5aOQPC6c5bLuTKQitpzs5nwGm3rmv6aZKwQQKMN sDmA== 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=47mrCpKZNVhuoyNWNKzAEDN5gPUKyG3fCkrK3ZR5P2k=; b=hV2I7E/cJIK8iO54uUVORqWoUev9hMlGb8WN7SdFHQY6Zgd8oJcSeifTIYAjy16ldN ZZVpPJqHPXWgR3ty90LODtCpGM4qV4zCBc+F4Wi8Ey6ePOZUYRWjsBn53XcCbujdedSP CXB7z4HcCQDgXg57oBftpmmUN9HA2SPUti35ZCIUIXUDrP87Fktsj7icrWh798fd887e WbjOX3ATd2WHxqILzzWB3Z6MF9hWmK1VbKa4ZoDAlGExZ3VAYh1nmAVZSyE7CsczugK1 IKgjvyn56XgOew81iVxBsAt7/ldiUzAPsudrLjrv9Hi/saa/IIzvsVNo7ZXtePYl8Tt2 imOg== X-Gm-Message-State: AIVw112pEzCPFhpJzbmQFs4mo+uGZJYMm6MWAbPZ66erUrV4CCFCCOto rVt+29vd6C6zjZHr X-Received: by 10.99.132.198 with SMTP id k189mr27014007pgd.233.1499351647304; Thu, 06 Jul 2017 07:34:07 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id w66sm1132739pfi.63.2017.07.06.07.34.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jul 2017 07:34:06 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Thu, 6 Jul 2017 07:33:22 -0700 Message-Id: <0f6e5426a194960cdd80aa01f5b0e259875caf90.1499351361.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: References: MIME-Version: 1.0 Subject: [OE-core] [PATCH 21/22] oeqa/sdk: Replace buildiptables for buildlzip tests 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 From: Jose Perez Carranza Buildiptables test cases are conflicting with images built with “musl” as standard C library, in order to avoid those issues lzip package was selected to be used on the tests as this does not have any "musl" dependency. [YOCTO #11713] Signed-off-by: Jose Perez Carranza Signed-off-by: Khem Raj --- meta/lib/oeqa/sdk/cases/{buildiptables.py => buildlzip.py} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename meta/lib/oeqa/sdk/cases/{buildiptables.py => buildlzip.py} (84%) diff --git a/meta/lib/oeqa/sdk/cases/buildiptables.py b/meta/lib/oeqa/sdk/cases/buildlzip.py similarity index 84% rename from meta/lib/oeqa/sdk/cases/buildiptables.py rename to meta/lib/oeqa/sdk/cases/buildlzip.py index 419c7ebd09..3a89ce8627 100644 --- a/meta/lib/oeqa/sdk/cases/buildiptables.py +++ b/meta/lib/oeqa/sdk/cases/buildlzip.py @@ -3,15 +3,15 @@ from oeqa.sdk.case import OESDKTestCase from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject -class BuildIptablesTest(OESDKTestCase): +class BuildLzipTest(OESDKTestCase): td_vars = ['DATETIME'] @classmethod def setUpClass(self): dl_dir = self.td.get('DL_DIR', None) - self.project = SDKBuildProject(self.tc.sdk_dir + "/iptables/", self.tc.sdk_env, - "http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2", + self.project = SDKBuildProject(self.tc.sdk_dir + "/lzip/", self.tc.sdk_env, + "http://downloads.yoctoproject.org/mirror/sources/lzip-1.19.tar.gz", self.tc.sdk_dir, self.td['DATETIME'], dl_dir=dl_dir) self.project.download_archive() @@ -21,7 +21,7 @@ class BuildIptablesTest(OESDKTestCase): self.tc.hasTargetPackage("gcc")): raise unittest.SkipTest("SDK doesn't contain a cross-canadian toolchain") - def test_iptables(self): + def test_lzip(self): self.assertEqual(self.project.run_configure(), 0, msg="Running configure failed")