From nobody Sat Nov 15 00:41:28 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1758271063; cv=none; d=zohomail.com; s=zohoarc; b=fS8AR528Mha0tDT/E0jcHVGx+dXcgfb0VDD/cVGJuB2iK1Jy6c/vG3FyBsU93Sw7lmrFNhlFMBw0XGp43w9qg0O4QrdDGoMgJANP332yZaCUqWGrlv161V0/rH0V5lZ906XVhtYpcNJi2tqm7MDQSZmmVE8AFv67uKgYhEb/GpE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1758271063; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=u2ujm1VawI3tEQj8Jm53WYSDc86i34iyikdx2/JKeC4=; b=gRoL6l14maiFnsMQSIa6KbmexbHC0/I2sTuW5XWdRauMmL4njJ23PcL7c02ZCvySMCEXxU3ql8Sc/TkyLoHc7UL1ZdT5lYXnM6EtPdMu4o4DUjBoXWUwl34fLmgh4yejgwYimXkaUK8WOOanyqqTc5Mg5nO7o4X3szJfFH42BTU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1758271063136508.913330456513; Fri, 19 Sep 2025 01:37:43 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uzWbZ-0002uW-Mh; Fri, 19 Sep 2025 04:36:33 -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 1uzWbW-0002rS-9Z for qemu-devel@nongnu.org; Fri, 19 Sep 2025 04:36:30 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uzWbT-00020J-GK for qemu-devel@nongnu.org; Fri, 19 Sep 2025 04:36:30 -0400 Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-558-RF-ybB5DMY6_XFUMvCDXSg-1; Fri, 19 Sep 2025 04:36:22 -0400 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 02FBE1800285; Fri, 19 Sep 2025 08:36:21 +0000 (UTC) Received: from avogadro.redhat.com (unknown [10.44.33.250]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 84A2C1800452; Fri, 19 Sep 2025 08:36:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1758270984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=u2ujm1VawI3tEQj8Jm53WYSDc86i34iyikdx2/JKeC4=; b=bAeg+uaSRXhqrtj9X/0l2cJIHAUUhnXmNPOLLGa2NTbDDjx0i8snDXB8Q05Pvt6O8m8Pkv Q8PZLKZhnnUcJdQH9LO4IhsdV16gs7DEA/34st3tNBo4bsGWt8EU7r4qqpuYLnd9DSSblq b5uz9DjZ4VIv/1O9Q2KCo0vUKXd6mV0= X-MC-Unique: RF-ybB5DMY6_XFUMvCDXSg-1 X-Mimecast-MFC-AGG-ID: RF-ybB5DMY6_XFUMvCDXSg_1758270981 From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: qemu-rust@nongnu.org Subject: [PATCH] rust: build: add back common and util tests Date: Fri, 19 Sep 2025 10:36:17 +0200 Message-ID: <20250919083617.86582-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.005, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1758271064350116600 Content-Type: text/plain; charset="utf-8" These were dropped by mistake when extracting the crates. Signed-off-by: Paolo Bonzini Reviewed-by: Manos Pitsidianakis Reviewed-by: Zhao Liu --- rust/common/meson.build | 3 +++ rust/util/meson.build | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/rust/common/meson.build b/rust/common/meson.build index b805e0faf57..07d073182ed 100644 --- a/rust/common/meson.build +++ b/rust/common/meson.build @@ -24,6 +24,9 @@ _common_rs =3D static_library( =20 common_rs =3D declare_dependency(link_with: [_common_rs]) =20 +rust.test('rust-common-tests', _common_rs, + suite: ['unit', 'rust']) + # Doctests are essentially integration tests, so they need the same depend= encies. # Note that running them requires the object files for C code, so place th= em # in a separate suite that is run by the "build" CI jobs rather than "chec= k". diff --git a/rust/util/meson.build b/rust/util/meson.build index 87a893673d2..96330504459 100644 --- a/rust/util/meson.build +++ b/rust/util/meson.build @@ -44,6 +44,10 @@ _util_rs =3D static_library( =20 util_rs =3D declare_dependency(link_with: [_util_rs], dependencies: [qemuu= til, qom]) =20 +rust.test('rust-util-tests', _util_rs, + dependencies: [qemuutil, qom], + suite: ['unit', 'rust']) + # Doctests are essentially integration tests, so they need the same depend= encies. # Note that running them requires the object files for C code, so place th= em # in a separate suite that is run by the "build" CI jobs rather than "chec= k". --=20 2.51.0