From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 899E07494 for ; Fri, 24 May 2024 21:51:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716587482; cv=none; b=h5dec9hh2n2HfyAJPqGNJyfKMKhILnn7L27QOy6cWf/a0AkkCUiWTtZxYvJbFHJ/kDjXrTUFMDyQzfb2agoNUdLfQ/3ch9AMA2pLMBbvSsz/grgoUsL5HJZcv8cxxwqXNGQ1cKK6f5bBvlnWICggphKsiTtD1campzC0tmog4oE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716587482; c=relaxed/simple; bh=oVYoNsEWHzr3YViFPl3QwkWmypC4MJ0Vz5FJ/scHMgA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=A+86+BR0M1vk0+e0GV11bVoyJdnB4mZrsycGDVts0DRtS/D3tOMf+fB6ogbJVMTroXpYFmbY8Yw8cnQYhTUpV2kIWIr8cSxa3sOB+hXSxkU1BdKdWmR5BHPKo9yw0XmGq0PNqqbZDBC8+QFRNMH5yu/UpKPg6uzSE03ZkcMDH7g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=jnzsxQ9Q; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="jnzsxQ9Q" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=jSvTVJjueYZnvV89goECwW8qoXJOPP4iPN0Uii9g8lQ=; b=jnzsxQ9Qk7ApAtiGL9MTEAcrgK dOjxBP1Sp/BSD8c3yAoI5VckNguvE0AB/uVHPreK5HoGW/aoGOMKRWPVKOnfqnbgbGBipO0hYNMWc cVtBmT0ZkOQn5giejxSDhd+grHEKkBvC0v3enwA4Hy84sK6sqveCdMWH3ZRgBLhSyZ8NBHH18LomS 3cIBVbJ6BWjS38eoD1TYwqqq5q9E2sxp3cEKNQCiH7gJTTWJj0XFXk4LlCiJEoiupKKRV7cyFFXh0 W4IS2IZ8fKaSWdSgO6NZsHlzs9nV6yiL7txCZt2NMvctUWdiYBmNFVI8sZXEzDNWZjKwbu6zz7fgV on7b0Q7Q==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sAcok-00000009xVB-49TV; Fri, 24 May 2024 21:51:14 +0000 From: Luis Chamberlain To: mgorman@suse.de, jack@suse.cz, vbabka@suse.cz, dave@stgolabs.net, ziy@nvidia.com, yuzhao@google.com, jhubbard@nvidia.com, ryan.roberts@arm.com Cc: kdevops@lists.linux.dev, p.raghav@samsung.com, da.gomez@samsung.com, gost.dev@samsung.com, Luis Chamberlain Subject: [mmtests PATCH v3 0/2] mmtests: fix debian dependencies Date: Fri, 24 May 2024 14:51:10 -0700 Message-ID: <20240524215113.2373668-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain As mentioned at LSFMM 2024, I'm interested in helping expand thpchallenge-fio and automation fragmentation metrics on mmtests [0]. on kdevops. My first bump on the road with mmtests was the old perl library on debian which no longer has a package. This provides a suitable replacement for it. Changes on this v3: - Added Tested-by and Reviewed-by tags for the List::BinarySearch patch - Modified ldconfig to be called just once at the end of installing all packages, also avoid removing the print line to inform you that you have installed a package, as suggestd by Jan Kara. Changes on v2: - Moved routines to Stat.pm as suggested by Jan Kara - Removed unit tests, in favor for having unit tests and verifying correctness of the replacement in its own separate two git trees. One git tree which let's us expand unit tests which will run the tests against both libraries easily. And the other git tree to help us run the same tests against an unmodified library. - Fix a corner case Jan Kara picked up on, and added that case and more to the unit tests. [0] https://lore.kernel.org/all/ZkUOXQvVjXP1T6Nk@bombadil.infradead.org/ Luis Chamberlain (2): bin/install-depends: call ldconfig MMTests::Stat: replace List::BinarySearch README.md | 5 ++--- bin/install-depends | 6 +++++- bin/lib/MMTests/Stat.pm | 48 +++++++++++++++++++++++++++++++++++++++-- compare-kernels.sh | 5 ----- 4 files changed, 53 insertions(+), 11 deletions(-) -- 2.43.0