From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CI9SApzu42YWFgEAqHPOHw:P1 (envelope-from ) for ; Fri, 13 Sep 2024 07:49:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CI9SApzu42YWFgEAqHPOHw (envelope-from ) for ; Fri, 13 Sep 2024 09:49:48 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=M1Y5MPX4; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ERUjLH4g; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726213787; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qYy3nkchkzFFszNodqPSmNblBzcJF22qewyRdZFFYTQ=; b=mqYyXCKai+i0/mTduU/k1lilVdHk0B5vosqCUcJKqF7pPsw22sHXsEfkzUznm8wWMcNPeC fMhm/zqMswnweAS0DRLzbkrk3WyXmEexyzgaKI+1l+YWlitrxLOQzJ1MiL2u0dwyJJNJcI tpzqBEXsUdwOHzKIze1B0H1QODmjfmLrdlP1jvOB3mbB3xe+GhlXK6sqh93FBCupRessEN QgtGPe7Pi67nMjUVvwXb5HWb5dmM9u65fR7P/EKvsyt/0cHLyVXnNGzd5onlIDcUPNsUMh sTBwSkhBEUK0maPCjIYZ1dPAZr9wQHXPuSyvAbTH6PNQFGJrb1RINYUuG7joMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=M1Y5MPX4; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ERUjLH4g; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726213787; a=rsa-sha256; cv=none; b=e7TKs9fdbNZi03GMikM4FPmvCUWwXlMxxEdhKZcPS0QGO+j4d/CmtDPgxmqT0g6n7D995M UCpfqc7CKNUOqd9LzCPXKMLzNeZZvCTPn8D0E2uNyYnVBmZT1vz/zrDpVMrSHdvjvqjn8w 1FuakX1Pr5gIlHFlZASf0LKFym7a1ZW7NOlPuE3HjYOg6RLxcO3v1XGCruoMTXHaHxOOm4 RvRoLVe1ZETM8aXzBBpSkkJa3TedO+OK9e0RI5shC3WkI4doxxGV9kWkOt2MaIxmc+jX2d wdfwGJ1Wnd6ok8gqhFelxrWp9rmuw0xLer6JdK8CubhfSirLwBde8ruIsUHITg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D14ED7321F for ; Fri, 13 Sep 2024 09:49:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sp134-0000ny-Do; Fri, 13 Sep 2024 03:48:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sp133-0000nL-AP for guix-patches@gnu.org; Fri, 13 Sep 2024 03:48:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sp131-0002ly-G1 for guix-patches@gnu.org; Fri, 13 Sep 2024 03:48:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=qYy3nkchkzFFszNodqPSmNblBzcJF22qewyRdZFFYTQ=; b=M1Y5MPX4v1s1On+/wN2Ztvs1jAKqPe+rxWVMiJCeME9VnZzDi1J3HskWJQzrxPnhNNeZgy/SFrjLCcL9wmh2GhelWFuL6BGE0GXvSvEs+c28Lxg0NZj3RcrBUtd7tSIzeIjtj7VysGbsHn5PEhinXVyvvtO06eD88njh82RWmPscXv1yj7Ysjac0Nj89VOSm8fRZbK+YEgkNbIcITwPOijoLSGVEo94UZOnNKUqLVUj/VRbWjATvZfYUQwf6Q2xABANfhZ/n2/FCm0Z5bnhRQG0kl/cTl093nYYe+2k78UVK5g5EOjHDGUbBK+QN3K33f16OnmjdLrFxuNqY4B7ESw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sp13A-0003fj-9N; Fri, 13 Sep 2024 03:49:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73128] [PATCH gnome-team v2 06/13] gnu: Add munit. Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Fri, 13 Sep 2024 07:49:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73128 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73128@debbugs.gnu.org Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu X-Debbugs-Original-Xcc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu Received: via spool by 73128-submit@debbugs.gnu.org id=B73128.172621373614006 (code B ref 73128); Fri, 13 Sep 2024 07:49:04 +0000 Received: (at 73128) by debbugs.gnu.org; 13 Sep 2024 07:48:56 +0000 Received: from localhost ([127.0.0.1]:42397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp131-0003dk-PZ for submit@debbugs.gnu.org; Fri, 13 Sep 2024 03:48:56 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:44340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp12t-0003bi-Jm for 73128@debbugs.gnu.org; Fri, 13 Sep 2024 03:48:48 -0400 Received: by mail-ed1-f66.google.com with SMTP id 4fb4d7f45d1cf-5c255e3c327so2148912a12.1 for <73128@debbugs.gnu.org>; Fri, 13 Sep 2024 00:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726213653; x=1726818453; darn=debbugs.gnu.org; h=mime-version:to:subject:date:references:in-reply-to:message-id:from :from:to:cc:subject:date:message-id:reply-to; bh=qYy3nkchkzFFszNodqPSmNblBzcJF22qewyRdZFFYTQ=; b=ERUjLH4g6cCz92A5HDx/Sg87EguF1jPHjHKrw4uACf5fW9D+kcw7x6yTJ80k7x9rt7 MfJEVgBy9a68YTWXqv/WMEvZhQh75LL4UhRBYTUJQX3ttfAanOlXopuKpcOTLwDq0h68 g8MtWLVX6iWHDparr5GwYCc1B2kVa7ZkQtKTbIO6+qAhJbwnillBpcvX0HwQ7PeiDvNy 0i6yIDLVxx8frkD4evIFDmVpc5b7p07ISzncCOXZSptH8OUjpCycNwaEyN8Ey8cmw1lq SGpQdh+iG/jwWy/DF6h/UY6YkYUnxrCYbGRqRF5kvglM80NuYCT4iFUJ+5bXYpCWpKPm omBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726213653; x=1726818453; h=mime-version:to:subject:date:references:in-reply-to:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qYy3nkchkzFFszNodqPSmNblBzcJF22qewyRdZFFYTQ=; b=qk1xePMGcdOMaLyUthHAMxWufWFNAnjzptoZqFIZcfjhRf8f8L5vnmqrw21MrBcw6x 5e4euYwpPLHJMntHnpWhhOMkTFK4nXPEOqyNNZlvYSLFyyJKSabt3Hhp6ZFfBwO58Hc1 8H77jnaoKCyRn2n6iiZ+q5rmEBE0snP8Jg9ZncLuxjBRLZnvdOYazCCqHzgFaYZd5uG/ dcNjJQkjqh475/cXSReGF7NqgyatkjSRIojuLFXn+9afXMBO752NH9KBp9VCCYsk5ML7 DhHJtT/trtVxdLudjWIVpBinU5Li50chc0pdF1AUfI30xX/nEqc5hi6bWucKIb3PY/8b Soog== X-Gm-Message-State: AOJu0Yw0kcivdId+0Xqa3EHYVIPyBmjf9AeOQm7kc5sHUjLcaYaGGNTL pgGFRrUYYHICFblNNyB7YDHZ6BoqvfUlZin1rXpxEk8jTiXJUK0RW+MQJUWb X-Google-Smtp-Source: AGHT+IH1AAW8HOV53WFWbAVk1I9Qjb7PZgWCUf2aiXHVW6Forvi7qAROnKy4yRQtdOi6Ps+3ZzjsSw== X-Received: by 2002:a17:907:e695:b0:a86:6fb3:fda5 with SMTP id a640c23a62f3a-a90294a28d7mr554933666b.32.1726213652694; Fri, 13 Sep 2024 00:47:32 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25c61279sm836767466b.108.2024.09.13.00.47.31 for <73128@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2024 00:47:32 -0700 (PDT) From: Vivien Kraus X-Google-Original-From: Vivien Kraus Message-ID: In-Reply-To: References: Date: Fri, 13 Sep 2024 09:37:01 +0200 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: D14ED7321F X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -5.42 X-Migadu-Spam-Score: -5.42 X-TUID: PbrPs/PrpDH+ * gnu/packages/check.scm (munit): New variable. Change-Id: I193e55ef4ceec1d62f595dd779f7b3d76154fad4 Signed-off-by: Liliana Marie Prikler --- gnu/packages/check.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 248d1c4231..fd865552fc 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -4206,3 +4206,43 @@ (define-public subunit command line filters to process a subunit stream and language bindings for Python, C, C++ and shell. Bindings are easy to write for other languages.") (license (list license:asl2.0 license:bsd-3)))) ;user can pick + +(define-public munit + ;; Last release in 2016, see also . + (let ((commit "fbbdf1467eb0d04a6ee465def2e529e4c87f2118") + (revision "1")) + (package + (name "munit") + (version (git-version "0.2.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nemequ/munit") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13725v4pps2bpndniksa58nqi9gvx0f0900k0rqvp95bxw5z8vda")))) + (build-system meson-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-install + ;; munit is paradoxically configured to only be installed + ;; when built as a subproject. + ;; See for a + ;; pull request that aims to fix this. As we don't care about + ;; bundling scenarios (or rather: aim to unbundle everything), + ;; install it unconditionally. + (lambda _ + (substitute* "meson.build" + (("install: meson.is_subproject\\(\\)") + "install: true"))))))) + (synopsis "Small unit testing framework for C") + (description + "µnit is a small testing framework for C with nested test suites, +parameterized tests, timing of the wall clock and CPU time, reproducible +random number generation, and more.") + (home-page "https://nemequ.github.io/munit/") + (license license:x11)))) -- 2.45.2