public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/crun/
Date: Tue, 20 Aug 2024 06:37:39 +0000 (UTC)	[thread overview]
Message-ID: <1724135855.e100688fbf5a78a5271e483d892714b0e15cd4e1.juippis@gentoo> (raw)

commit:     e100688fbf5a78a5271e483d892714b0e15cd4e1
Author:     Robert Günzler <r <AT> gnzler <DOT> io>
AuthorDate: Wed Aug  7 15:54:07 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 06:37:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e100688f

app-containers/crun: enable limited testing

Signed-off-by: Robert Günzler <r <AT> gnzler.io>
Closes: https://github.com/gentoo/gentoo/pull/38009
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-containers/crun/crun-1.16.ebuild | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/app-containers/crun/crun-1.16.ebuild b/app-containers/crun/crun-1.16.ebuild
index f7678e12c5e5..631d7a2535dd 100644
--- a/app-containers/crun/crun-1.16.ebuild
+++ b/app-containers/crun/crun-1.16.ebuild
@@ -37,11 +37,6 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
-# the crun test suite is comprehensive to the extent that tests will fail
-# within a sandbox environment, due to the nature of the privileges
-# required to create linux "containers".
-RESTRICT="test"
-
 src_configure() {
 	local myeconfargs=(
 		$(use_enable bpf)
@@ -63,3 +58,18 @@ src_install() {
 	einfo "Cleaning up .la files"
 	find "${ED}" -name '*.la' -delete || die
 }
+
+src_test() {
+	emake check-TESTS -C ./libocispec
+
+	# the crun test suite is comprehensive to the extent that tests will fail
+	# within a sandbox environment, due to the nature of the privileges
+	# required to create linux "containers".
+	local supported_tests=(
+		"tests/tests_libcrun_utils"
+		"tests/tests_libcrun_errors"
+		"tests/tests_libcrun_intelrdt"
+		"tests/test_oci_features"
+	)
+	emake check-TESTS TESTS="${supported_tests[*]}"
+}


             reply	other threads:[~2024-08-20  6:37 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-20  6:37 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-22  8:55 [gentoo-commits] repo/gentoo:master commit in: app-containers/crun/ WANG Xuerui
2024-08-20  6:37 Joonas Niilola
2024-05-28 13:19 Sam James
2024-05-28 13:19 Sam James
2024-05-10  5:50 Joonas Niilola
2024-02-28 13:10 Florian Schmaus
2024-02-28 13:10 Florian Schmaus
2024-02-28  9:12 Florian Schmaus
2024-02-28  9:12 Florian Schmaus
2023-11-18 16:46 Sam James
2023-11-18 16:46 Sam James
2023-10-31 19:53 Sam James
2023-10-31 19:21 Sam James
2023-10-31 19:21 Sam James
2023-05-18  7:39 Joonas Niilola
2023-05-18  7:39 Joonas Niilola
2023-05-18  7:39 Joonas Niilola
2023-04-29 20:31 Sam James
2023-04-29 20:20 Sam James
2023-04-29 18:21 Arthur Zamarin
2023-03-01 13:46 Joonas Niilola
2023-03-01 13:46 Joonas Niilola
2022-11-03  6:40 Sam James
2022-11-03  6:40 Sam James
2022-11-03  6:40 Sam James
2022-05-13 20:12 Sam James
2022-05-13 20:12 Sam James
2022-05-13 20:12 Sam James
2022-04-12 21:04 Sam James
2022-04-09 21:32 Jason Zaman
2022-04-01  1:31 Sam James
2022-03-26 17:07 Arthur Zamarin
2022-03-25 10:44 Yixun Lan
2022-03-25  7:23 Joonas Niilola
2022-03-25  4:23 Sam James
2022-03-25  4:04 Sam James
2022-03-09 23:12 Sam James
2022-02-26 11:53 Arthur Zamarin
2022-02-22 16:04 Agostino Sarubbo
2022-02-18  4:50 Sam James
2022-02-18  3:07 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1724135855.e100688fbf5a78a5271e483d892714b0e15cd4e1.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox