From patchwork Thu Feb 22 12:50:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 129228 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp559336lja; Thu, 22 Feb 2018 04:50:19 -0800 (PST) X-Google-Smtp-Source: AH8x227nCjMZfIBlBei7VqtgwZzrg5qy6Tg6A1atGCQWMImdPbo9caSW2Zbl7PYB7TFeluMolQ42 X-Received: by 10.101.70.203 with SMTP id n11mr5389413pgr.377.1519303818889; Thu, 22 Feb 2018 04:50:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519303818; cv=none; d=google.com; s=arc-20160816; b=b/Ioo4oAbDVmfEywXz+im4JWzM7f/5+Oxyb1h0d6wYYxT/0ItbilWB/nUVNgkliBHN sUJzEbTBnjn03p8/1wdOXmwIgcrpbqe8g9fBxKKNG9ajEN/HKIwfOBHirXEXXxECT8wW 3jR4OvxVTZLbu2AXa3VGhZO0fu0Ft+dh8LU0ucaG4p0yFyqLYSsgQhxq3QvYYTOJWiOi Jzaiu1LTE0l+Zbfd2YJEzLt+jTpZfBwLNNPY9/yT53V0eXb5cc6kGrBULi06Zs0b3YOG akLR6glfA+KCMmcZeJL2UEF9A3uiGl0PAYmzjCCK9P3rHSVwsPZILoaeiz9C3KU4vaAR XMFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=k4KMO8EdhUU4g0GtE+qTADSKBPbPzuSWfD8BDygQSDU=; b=vslBChg3QOmt9dYu5xK89wtDcpoO0exVKVvv7FlNWqGsV+6hm63xLV/HpNf7ip/k4Z kzLHYkfCEqVF+LhsaHVqNypN+bmc8IdzCG/eBeKujW47P8qitEaQFYLfwFIue20PPoYx sQPW/XbMvt21FLD4bph3nfsFuFvTwDb82H3ouUoKAirX8AbVU0kyNmE/KdzeXECAzQ1A jNxU7DFAFd66vvsOEryXPl4oPanxcnYPQumznTwge4PHBqC/zX58SkMiis1UA0qvvCPr tZ8L9JM3K9GHaJXBQifowiZTXcJW0cf2T//+bxC+PjqJuNTY9apMdW6eymYCfscuX1zD qMAA== 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=KCoPv29n; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f4-v6si18068plr.267.2018.02.22.04.50.18; Thu, 22 Feb 2018 04:50:18 -0800 (PST) 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=KCoPv29n; 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 Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D3A85787D0; Thu, 22 Feb 2018 12:50:15 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by mail.openembedded.org (Postfix) with ESMTP id 04F4078709 for ; Thu, 22 Feb 2018 12:50:13 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id t3so3686752wmc.2 for ; Thu, 22 Feb 2018 04:50:15 -0800 (PST) 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; bh=n6d+MIDPBQeMGksu8fiFbPYy3gVBapSHf+6qSNhN1bg=; b=KCoPv29nttrti2g0ZDEhN9m87BBQPUe9ziXfPmNq2vBohQtsR7fx9Bmxg3dR6BkqCr wR4WfDTddyGHfMrs0SC6kZ4TLdqBVPbECruktAKH178tFoFUfMWTpvFTvUf3+HROd1Ui vi0UrYRwcsVpSvKtzHXmafFPkKDM1uvufHiDgPAj3nXqjmClinjQ5hJ5zaNoC6N+YZmq 9mUYkmx3RUJQSgwj8o7ZQSvZsmd9LK5YbsGDWWEjm3jNkDqO678YhZ4l/Jn6X3e/fwGd 8S/IdRX22DFIlaKA2MSbHA/GWMckwz2ZyX2Y3/mXeAWPN5SwffYOCKydGCG4oIMgAMHO 1Ddg== 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; bh=n6d+MIDPBQeMGksu8fiFbPYy3gVBapSHf+6qSNhN1bg=; b=fbGsHqDQWZCO8Y1h56ijrFD0ct2kVZk3SNjdTgik8zfE1dvGZGZ/0/Tv7phstLWpOi pOExL66Kwf8i7z/kDfd/1Nw2OezTOVzf/oGg9qP+GsnrL3eg7m4hdkvxkg289OeslFH7 XNp/CBMeThGK+L5nxLyujWl2smrluWEqgtdzxUJfO/Yc7bO7T24Lt7QrvcOEajATA6sH hw55JRQAEkqyaneF/JwL7PB6oUe8ilBuVR7Arz1sV1ngNPDJK5anWYLQrNZc+z9e8MDL qFU5mq5kd21gg+aXnuQfxwlFw14TNn4QyZ70Il5hDHIYGuHPwOGXk5wA2YapLxBFSKAT Z6tA== X-Gm-Message-State: APf1xPDZyU8LEJua2mgx3G0KeQpP2UbJ02YrzR3SDulFQzpPJE0kvCMQ HYu0eyPgyK0VvA487SK+IhfBlIAq X-Received: by 10.28.186.66 with SMTP id k63mr4566940wmf.156.1519303814544; Thu, 22 Feb 2018 04:50:14 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id r6sm21719wrg.63.2018.02.22.04.50.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 04:50:13 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Thu, 22 Feb 2018 12:50:11 +0000 Message-Id: <20180222125011.21571-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH] sstatetests: pass the right files when comparing sigfiles 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- meta/lib/oeqa/selftest/cases/sstatetests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.0 -- _______________________________________________ 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/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py index 67356942634..7b008e409f4 100644 --- a/meta/lib/oeqa/selftest/cases/sstatetests.py +++ b/meta/lib/oeqa/selftest/cases/sstatetests.py @@ -526,7 +526,7 @@ http_proxy = "http://example.com/" # this is an expensive computation, thus just compare the first 'max_sigfiles_to_compare' k files max_sigfiles_to_compare = 20 first, rest = files[:max_sigfiles_to_compare], files[max_sigfiles_to_compare:] - compare_sigfiles(first, files1.keys(), files2.keys(), compare=True) - compare_sigfiles(rest, files1.keys(), files2.keys(), compare=False) + compare_sigfiles(first, files1, files2, compare=True) + compare_sigfiles(rest, files1, files2, compare=False) self.fail("sstate hashes not identical.")